write a python program which reads a number from input (like 123).you make the assumption that the user does not enter a decimal number(like 123.4).the number entered by the user should not be divisible by 10 and if the user enters a num.that that is divisible by 10 (like560).it is considered invalid and the application should keep asking until the user enters a valid input.once the user enters a valid input the program...plz reply fast and help me
hydrahyper27:
what is the required output if user enters a valid input
Answers
Answered by
1
Answer:
a=int(input("enter a number:"))
while a%10==0:
print('The number should not be divisible by 10')
a=int(input("enter a number:"))
Answered by
1
Hêy Fríèñd...
Here is the Program...
.
.
.
.
.
I Hope This Will Help You ◉‿◉
Attachments:
Similar questions
Business Studies,
6 months ago
India Languages,
6 months ago
Biology,
11 months ago
Physics,
1 year ago
Math,
1 year ago