This seems kind of simple but for the life of me I have no idea on how to even approach this
At the end of my code, I have a
if(__name__ == "__main__"):
block
And after that line I ask for the users input for something and I execute my function kind of like so
b = input("enter something")
run_my_func(b)
And right now it just ends right there.
How can I make it so that it will again ask for an input or exit of the user inputs nothing and presses enter
My initial idea was to put it in a while loop? But I'm not sure if that'd work/how to implement it