Answer:
user_string = input("Input a string : ")
output = user_string.isnumeric()
if output == True:
print("yes")
else:
print("no")
Explanation:
- First of all check whether user input have all numeric value or not
.
- Display yes if string contain all numeric values
.
- Display no if string contain at least one non - integer character
.
I LIKE IT DO YOU ALSO LOVE IIT
Answer:
Code
Explanation:
The code is instructions that you can write yourself or download from online