0
When is there a syntax error
what's wrong? python https://code.sololearn.com/cwa8266PsraS/?ref=app
7 Respostas
+ 6
I'm not sure what you expect, bit just write:
print(s)
That will print whatever the variable s had (the users input)
+ 6
To print everything put it in the brackets of the print function
print("stuff to print")
+ 2
//This takes user input and stores it in a variable named s...
s = input("Enter something please: ")
//This prints the variable s
print(s)
print("This prints whatever is in here")
print("This prints something plus s: " + s)
+ 1
oh wait I figured it out. all it wanted me to do was press run, not recreate the entire code.
0
I'm brand new to learning python. I was practicing the lesson which is the first string/line?
mine is the second one.
0
I see what you guys are saying. it's a math equation with text instead of numbers.
0
syntax error is that when your rules of writing the program is wrong