File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 22
33## 📝 Instructions:
44
5- 1 . Write a function ` century() ` . Given a year (as a positive integer), ` century() ` finds the respective number of the century.
5+ 1 . Write a function ` century() ` . Given a year (as a positive integer), ` century() ` finds the respective number of the century.
66
7- ## Example input:
7+ ## 📎 Example input:
88
99``` py
1010century(2001 )
1111```
1212
13- ## Example output:
13+ ## 📎 Example output:
1414
15- + 21
15+ ``` py
16+ 21
17+ ```
1618
1719## 💡 Hints:
1820
19- + Note that, for example, 20th century began with the year 1901.
21+ + Note that, for example, the 20th century began with the year 1901.
2022
21- + If you don't know how to start solving this assignment, please, review a theory for this lesson: https://snakify.org/lessons/integer_float_numbers/
23+ + If you don't know how to start solving this assignment, please review the theory for this lesson: https://snakify.org/lessons/integer_float_numbers/
2224
2325+ You may also try step-by-step theory chunks: https://snakify.org/lessons/integer_float_numbers/steps/1/
You can’t perform that action at this time.
0 commit comments