execution of for comd
Title
Question
In [8]: for num is numbers:
...: print("sqrt of",num,"is",num**0.5)
File "<ipython-input-8-d53f5a6e8ccb>", line 1
for num is numbers:
^
SyntaxError: invalid syntax
According to instruction , when i press enter after writing for command it shows error. I am using windows OS. Plz help with this.
Python-3.4.3 Getting-started-with-for 05-06 min 30-40 sec
Answers:
Please use the keyword in
You are typing is
Login to add comment