[Tutor] how do I set variables in Python 3.4

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Jul 11 21:32:01 CEST 2014


On 11/07/2014 06:50, Danielle Salaz wrote:
> I'm a noob to Python and cannot figure out how to complete one of my assignments.
>
> I am supposed to use operand1=2 and operand2=7
> To complete: result= operand1+operand2 etc, but I keep getting invalid syntax either on the " or operand1. Please help
>

Please show us your code and the complete traceback.  Please use cut and 
paste, don't try typing it in by hand as this inevitably leads to mistakes.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com




More information about the Tutor mailing list