I have searched a lot but not able to find the appropriate answer. So lastly hoping some help from you guys.!! I just want to ask that Is there a way to stop users inputting decimal numbers in python? I am having the following code :
user = input("Please input a number")
when this is popped to user I want that user should not enter the decimal numbers. They should able to enter only the whole numbers. Please help me soon.!! Also does anyone know the program to convert Decimal to Binary??
Bookmarks