You can try it by yourself, it should look something like this:
defstart(inputStr):print("Hey from inside my function!")print("Here is your input: "+inputStr)print("Hello World!")x=input("Input needed: ")start(x)
Now let's run our program:
Now we can get our input back without having to repeat our commands!
Here is a more advanced function:
Today I taught you how to use functions and use variables in conjunction. This will give you a basic understanding of how to make complex programs for user input, etc.
Next time we will go over IF, ELIF, and ELSE statements.