write a Python program to accept a number and then ask user wants to continue or not . if he or she wants to continue to print welcome otherwise print thanks to visit my program
Answers
Answered by
0
Answer:
number=int(input('Enter number:'))
userinput=input('Want to continue? Type Y for Yes and N for No:')
if userinput.upper()=='Y':
print("welcome")
else:
print("Thanks to visit my program")
Explanation:
Similar questions