Python program to check the equality of given numbers
kw.py
print("__________________________________________")print("Program for comparison of two numbers")print("__________________________________________")a=int(input("Enter the 1st number "))b=int(input("Enter the 2nd number "))if(a<b):print(a,"is less than",b)elif(a==b):print(a,"is equal to",b)else:print(a,"is greater than",b)print("__________________________________________")
Output
kodingwindow@kw:~$ python3 kw.py
__________________________________________
Program for comparison of two numbers
__________________________________________
Enter the 1st number -10
Enter the 2nd number -50
-10 is less than -50
__________________________________________
Dear User, Thank you for visitng Kodingwindow. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.
Dear User, We are grateful for your interest in the Kodingwindow Android app. We intend to soon make it available on the Google Play Store. Currently, Android versions 10 and up require manual apk installations. Would you like to get the app?