28th Feb 2018, 4:28 PM
Vučko/ВучĐșĐŸ/Vuchko
Vučko/ВучĐșĐŸ/Vuchko - avatar
5 Answers
+ 20
Vučko, nisam stručnjak za Python...ali koliko vidim kompajler ti javlja sintaksnu greơku u liniji 10: print :("c") Trebalo bi da napiơeơ ovu liniju bez dvotačke : print ("c")
28th Feb 2018, 4:33 PM
LukArToDo
LukArToDo - avatar
+ 6
When you run into errors, read the error message so you know what's going on and can resolve it. It even lets you know exactly what line it's on, and most of the time it displays the portion of code also. :::: YOUR ERROR MESSAGE :::: File "..\Playground\", line 10 print:("c") ^ SyntaxError: invalid syntax ^The means of resolving your problem is directly stated in your error message. It even has an arrow pointing at it for you. You're using invalid syntax for the print function. Look at your other print functions and then look at that one. Hope that helps!
28th Feb 2018, 4:37 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 3
Sintakanu greơku u liniji 10. Trebalo bi da napiơeơ ovu liniju bez dvotačkite kako sto spomna @LukArToDo.
28th Feb 2018, 4:46 PM
Mila
Mila - avatar
+ 2
#it works if at print:(c),remove : try: word = "spam" print(word / 0) except: print("An error occurred") try: x = "egg" print (x/0) except: print("c") ''' practice repeatedly . don't worry, you are doing good '''
28th Feb 2018, 4:44 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar