I've very new to programming so sorry if this is a stupid question, but I'm trying to make a program with multiple functions, but whenever I attempt to define one it comes up with an error.
name = input("Hello. Please enter your name: ")
SyntaxError: invalid syntax
I'd bet you're trying to paste the entire thing into a Python interpreter session. The command line interpreter needs things entered one block at a time, so try pasting the
startUp function, hit enter, then
promptName and enter, and then run the whole thing with the last line.
Alternatively, save it all as a .py file and run the file.