Rohit Kumar

Generation

generate functionTue, 22 Nov 2022

number information

import math def number_info(a): print "The absolute value of %i is %i" % (a, abs(a)) print "The ceiling of %i is %i" % (a, math.ceil(a)) print "The floor of %i is %i" % (a, math.floor(a)) print "The round of %i is %i" % (a, round(a))

Want to kickstart your project?Use the new AI Studio to create your code