Nov-21-2022, 08:01 PM
(This post was last modified: Nov-21-2022, 08:01 PM by astral_travel.)
okay, so here's my first function (even got to pass the arguments from a user input),
def multiply(a, b): return a*b user_input = int(input("enter the first number: ")) user_input2 = int(input("enter the second number: ")) print(multiply(user_input, user_input2))suppose i want to call the function eternally, like, keep asking for the user input after each printing of the result....how is it possible to do that ?