News
#program to print is it positive ,negative,zero num=int(input()) if num>0: print("positive") elif num<0: print("negative") else: print("zero") #program to print if a ...
We all know that python is known for making our work easy and with lesser lines of code. Python has got a way to shorten if-else statements too. Say for example you want to input two numbers from a ...
# if the num is bigger than or equal to zero, and num is smaller than 10, # type to screen, " The number which is written, is smaller than 10. " ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results