Computer Science, asked by rajesh70445, 9 months ago

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 akshayamca14
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