0
Am i using .format method wrong when that method involves a function with a list defined inside it?
For example: print("You are {} {}".format("lc_alphabet()", "num_list()") #lc_alphabet() has the lower-case alphabet list defined within it. #num_list() has a list of numbers from 1 to 26 defined within it. #I have already called for user input in the form of x=input("Enter text here ") I want to know whether I'm messing my syntax up or callling my functions incorrectly, because I get an error message stating: SyntaxError: Unexpected EOF occured (something similar, but it is SyntaxError and EOF)
1 Respuesta
0
hi. I dont speak english. I speak spanish and french.
but. try return