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)


The error I cant seem to fix










share|improve this 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















up vote
-3
down vote

favorite












The code that I'm trying to execute:



print "Creating account %s with the password %s" % (username1, password1)


The error I cant seem to fix










share|improve this 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













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)


The error I cant seem to fix










share|improve this question















The code that I'm trying to execute:



print "Creating account %s with the password %s" % (username1, password1)


The error I cant seem to fix







python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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












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))





share|improve this answer





















  • Thank you, it is fixed now. I didnt know I needed that <3
    – Arilis
    Nov 12 at 0:34


















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






share|improve this answer




























    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))





    share|improve this answer





















    • Thank you, it is fixed now. I didnt know I needed that <3
      – Arilis
      Nov 12 at 0:34















    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))





    share|improve this answer





















    • Thank you, it is fixed now. I didnt know I needed that <3
      – Arilis
      Nov 12 at 0:34













    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))





    share|improve this answer












    You are using Python 3. You need parentheses to call the print function:



    print("Creating account %s with the password %s" % (username1, password1))






    share|improve this answer












    share|improve this answer



    share|improve this answer










    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


















    • 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












    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






    share|improve this answer

























      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






      share|improve this answer























        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






        share|improve this answer












        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 12 at 0:34









        Navin Dalal

        338




        338















            Popular posts from this blog

            Bressuire

            Vorschmack

            Quarantine