Skip to content
HELP PLEASE : how do I use the return function?
Profile icon
ElvisNguyen

can someone please help me out. How do i return it back to " A = int(input("Please Enter A Numerical Length For the Triangle: A = "))" . I have no clues on how to do it. Could some expert help me out please!!

You are viewing a single comment. View All
Answered by ash15khng [earned 5 cycles]
View Answer
Profile icon
ElvisNguyen

for example: when the user enter a number than it is ok, but when they enter "non-numerical" input such as abc or [email protected]#. It will tell themto "That is not an Numerical, Please ONLY ENTER NUMERICAL". My question is after the message "That is not an Numerical, Please ONLY ENTER NUMERICAL" how do I make it to return back to "Please Enter A Numerical Length For the Triangle: A =" without run the program again. Thank you in advance for helping me out