1 step - open python IDLE (just search IDLE and open it)
2 step - Go to file > New File
3 step - Type these codes
num1=int(input("Enter Number 1:- "))
num2=int(input("Enter Number 2:- "))
if num1>num2:
print("Maximum Number is : - ",num1);
else:
print("Maximum Number is : - ",num2)
4 step - press F5 or run the module
No comments:
Post a Comment