0

Python Lesson -> Numeric Functions Round Example missing

My suggestion: Numeric Functions print(min(1, 2, 3, 4, 0, 2, 1)) print(max([1, 4, 9, 2, 5, 6, 8])) print(abs(-99)) >>print(abs(42)) <<print(round(42.56)) print(sum([1, 2, 3, 4, 5]))

19th Feb 2018, 8:31 AM
Hannes Ebelt
Hannes Ebelt - avatar
1 Réponse
+ 1
yes its right.. but the existing example doesn't give the round function. so thats my proposal to replace: this line: print(abs(42)) by: print(round(42.56))
19th Feb 2018, 2:01 PM
Hannes Ebelt
Hannes Ebelt - avatar