We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf180a commit db4ea9eCopy full SHA for db4ea9e
exercises/016-century/solution.hide.py
@@ -3,9 +3,9 @@
3
# Complete the function to return the respective number of the century
4
def century(year):
5
if year % 100 == 0:
6
- return math.floor(year/100)
+ return math.floor(year / 100)
7
else:
8
- return math.floor(year/100 +1)
+ return math.floor(year / 100 + 1)
9
10
11
# Invoke the function with any given year
0 commit comments