Contact: aviboots(AT)netvision.net.il
39,894 questions
51,825 answers
573 users
import math n = 3.14 print(math.floor(n)); print(math.trunc(n)); print(math.ceil(n)); ''' run: 3 3 4 '''
import math n = -3.14 print(math.floor(n)); print(math.trunc(n)); print(math.ceil(n)); ''' run: -4 -3 -3 '''