Answer:
#
Explanation:
I have notes on it we learned it in 8th
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
.
num = float(input("Enter a number: "))
num1 = int(num)
print(num - num1)
I hope this helps!
Consensus Building is NOT a technique that you can use to help you in identifying a problem.