i tried to run the code on my command line but it giving me syntaxError: invalid syntax from sys import argv python ex13.py, first, second, third. what the correct way to write the code. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

i tried to run the code on my command line but it giving me syntaxError: invalid syntax from sys import argv python ex13.py, first, second, third. what the correct way to write the code.

27th Sep 2016, 11:11 AM
Jimoh Abdulwahab (wabjay)
Jimoh Abdulwahab (wabjay) - avatar
2 Réponses
0
i need to see your code, to be able to say what is wrong with it
28th Sep 2016, 8:21 AM
Andrei Giura
Andrei Giura - avatar
0
Here is the code from sys import argv python ex13.py, first, second, third print "The script is called:", script print "Your first variable is:", first print "Your second variable is:", second print "Your third variable is:", third
28th Sep 2016, 8:25 AM
Jimoh Abdulwahab (wabjay)
Jimoh Abdulwahab (wabjay) - avatar