How to re execute a input command?
Of course this is not gonna happen on solo learn but, How can we execute an input command that the user has already executed earlier while running the program. Like ans = Input("option: ") Print (ans) Input("Re execute? : ") In the above code, how can I re execute the first line once user gave the input, got a desired outcome and asks again without switching off the program. Thanks for reading.