Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 5

question about python

Solved! Go to Solution.

I have no backround in computer programming.Why I cant add these numbers?it says invalid character in identifier.

thank youquestion about python.jpg

4 Replies
Highlighted
Solution
Commander Lvl 1
Message 2 of 5

Re: question about python

Hey! The error is that you are using "===". If you delete those equal signs on lines number 2 and 5 you should be okay. 

 

Also, note that the words "Spyder Editor" will give you an error unless you put quotation marks around them. 

Highlighted
Copilot Lvl 3
Message 3 of 5

Re: question about python

thank you veryyyyyy much.Now is it ok? I deleted >> because it was said invalid syntax againadd problem 1.jpgadd problem 2.jpgadd problem 3.jpg

Highlighted
Commander Lvl 1
Message 4 of 5

Re: question about python

Yes, also keep in mind that if you want to see the output of something (like "2+3") in the console, you need to print it like "print(2+3)". If you add that you will see "5" show up on the right side of the screen in the console. 

Highlighted
Copilot Lvl 3
Message 5 of 5

Re: question about python

i am very grateful to you!!!you make me feel like ease into building the base in how to programm in python.