Skip to content

Commit db4ea9e

Browse files
authored
Update solution.hide.py
1 parent 5cf180a commit db4ea9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/016-century/solution.hide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Complete the function to return the respective number of the century
44
def century(year):
55
if year % 100 == 0:
6-
return math.floor(year/100)
6+
return math.floor(year / 100)
77
else:
8-
return math.floor(year/100 +1)
8+
return math.floor(year / 100 + 1)
99

1010

1111
# Invoke the function with any given year

0 commit comments

Comments
 (0)