Skip to content

Commit dea53a9

Browse files
authored
Update README.md
1 parent 667b3b1 commit dea53a9

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

exercises/008-two_timestamps/README.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,18 @@
22

33
## 📝 Instructions:
44

5-
1. Given two timestamps of the same day: a number of hours, minutes and seconds for both of the timestamps. The moment of the first timestamp happened before the moment of the second one. Calculate how many seconds passed between them.
5+
1. Given two timestamps of the same day: a number of hours, minutes and seconds for both of the timestamps. The moment of the first timestamp happened before the moment of the second one. Calculate how many seconds passed between them.
66

7-
## Example input #1:
7+
## 📎 Example 1:
88

99
```py
10-
two_timestamp(1,1,1,2,2,2)
10+
output = two_timestamp(1,1,1,2,2,2)
11+
print(output) # 3661
1112
```
1213

13-
## Example output #1:
14-
15-
+ 3661
16-
17-
## Example input #2:
14+
## 📎 Example 2:
1815

1916
```py
20-
two_timestamp(1,2,30,1,3,20)
17+
output = two_timestamp(1,2,30,1,3,20)
18+
print(output) # 50
2119
```
22-
23-
## Example output #2:
24-
25-
+ 50
26-
27-
## 💡 Hints:
28-
29-
+ If you don't know how to start solving this assignment, please, review a theory for this lesson: https://snakify.org/lessons/print_input_numbers/
30-
31-
+ You may also try step-by-step theory chunks: https://snakify.org/lessons/print_input_numbers/steps/1/

0 commit comments

Comments
 (0)