There is something wrong with my python syntax I just cant seem to get [closed]
up vote
-3
down vote
favorite
The code that I'm trying to execute:
print "Creating account %s with the password %s" % (username1, password1)
python
closed as off-topic by SpghttCd, rsjaffe, Julien, user6655984, pkc456 Nov 12 at 1:34
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – SpghttCd, rsjaffe, Community, pkc456
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
-3
down vote
favorite
The code that I'm trying to execute:
print "Creating account %s with the password %s" % (username1, password1)
python
closed as off-topic by SpghttCd, rsjaffe, Julien, user6655984, pkc456 Nov 12 at 1:34
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – SpghttCd, rsjaffe, Community, pkc456
If this question can be reworded to fit the rules in the help center, please edit the question.
Welcome to StackOverflow! Just for future reference, you should post your code/trace into the question. Go here to see more about posting a better question :)
– robotHamster
Nov 12 at 0:49
Also, please accept the answer that solved your problem
– robotHamster
Nov 12 at 2:28
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
The code that I'm trying to execute:
print "Creating account %s with the password %s" % (username1, password1)
python
The code that I'm trying to execute:
print "Creating account %s with the password %s" % (username1, password1)
python
python
edited Nov 12 at 1:55
robotHamster
343115
343115
asked Nov 12 at 0:29
Arilis
11
11
closed as off-topic by SpghttCd, rsjaffe, Julien, user6655984, pkc456 Nov 12 at 1:34
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – SpghttCd, rsjaffe, Community, pkc456
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by SpghttCd, rsjaffe, Julien, user6655984, pkc456 Nov 12 at 1:34
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – SpghttCd, rsjaffe, Community, pkc456
If this question can be reworded to fit the rules in the help center, please edit the question.
Welcome to StackOverflow! Just for future reference, you should post your code/trace into the question. Go here to see more about posting a better question :)
– robotHamster
Nov 12 at 0:49
Also, please accept the answer that solved your problem
– robotHamster
Nov 12 at 2:28
add a comment |
Welcome to StackOverflow! Just for future reference, you should post your code/trace into the question. Go here to see more about posting a better question :)
– robotHamster
Nov 12 at 0:49
Also, please accept the answer that solved your problem
– robotHamster
Nov 12 at 2:28
Welcome to StackOverflow! Just for future reference, you should post your code/trace into the question. Go here to see more about posting a better question :)
– robotHamster
Nov 12 at 0:49
Welcome to StackOverflow! Just for future reference, you should post your code/trace into the question. Go here to see more about posting a better question :)
– robotHamster
Nov 12 at 0:49
Also, please accept the answer that solved your problem
– robotHamster
Nov 12 at 2:28
Also, please accept the answer that solved your problem
– robotHamster
Nov 12 at 2:28
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
You are using Python 3. You need parentheses to call the print function:
print("Creating account %s with the password %s" % (username1, password1))
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
add a comment |
up vote
0
down vote
It seems you are using python 3 ,so please put print() parenthesis if using python 3 in print statement.
Please refer the documentation.
https://docs.python.org/3/library/functions.html#print
Thanks and Regards
Navin Dalal
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You are using Python 3. You need parentheses to call the print function:
print("Creating account %s with the password %s" % (username1, password1))
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
add a comment |
up vote
1
down vote
You are using Python 3. You need parentheses to call the print function:
print("Creating account %s with the password %s" % (username1, password1))
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
add a comment |
up vote
1
down vote
up vote
1
down vote
You are using Python 3. You need parentheses to call the print function:
print("Creating account %s with the password %s" % (username1, password1))
You are using Python 3. You need parentheses to call the print function:
print("Creating account %s with the password %s" % (username1, password1))
answered Nov 12 at 0:32
Ned Batchelder
253k51438566
253k51438566
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
add a comment |
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
Thank you, it is fixed now. I didnt know I needed that <3
– Arilis
Nov 12 at 0:34
add a comment |
up vote
0
down vote
It seems you are using python 3 ,so please put print() parenthesis if using python 3 in print statement.
Please refer the documentation.
https://docs.python.org/3/library/functions.html#print
Thanks and Regards
Navin Dalal
add a comment |
up vote
0
down vote
It seems you are using python 3 ,so please put print() parenthesis if using python 3 in print statement.
Please refer the documentation.
https://docs.python.org/3/library/functions.html#print
Thanks and Regards
Navin Dalal
add a comment |
up vote
0
down vote
up vote
0
down vote
It seems you are using python 3 ,so please put print() parenthesis if using python 3 in print statement.
Please refer the documentation.
https://docs.python.org/3/library/functions.html#print
Thanks and Regards
Navin Dalal
It seems you are using python 3 ,so please put print() parenthesis if using python 3 in print statement.
Please refer the documentation.
https://docs.python.org/3/library/functions.html#print
Thanks and Regards
Navin Dalal
answered Nov 12 at 0:34
Navin Dalal
338
338
add a comment |
add a comment |
Welcome to StackOverflow! Just for future reference, you should post your code/trace into the question. Go here to see more about posting a better question :)
– robotHamster
Nov 12 at 0:49
Also, please accept the answer that solved your problem
– robotHamster
Nov 12 at 2:28