#try to avoid input function import math a = float(input("Enter any Number :")) b = math.ceil(a) c = math.floor(a) print("ceil value :"+str(b)," Floor value is :"+str(c))
Click the run button. Try to avoid input() function.