Greetings Danielle,
Welcome to programming! Thanks for the additional clarification as to what
your project is. Starting from scratch isn't easy, but with a little bit of
guidance, you'll soon be able to "drive on your own!"
In the course you're taking, can you share a bit about what resources yo
This is the assignment:
Write a Python script as follows:
Use 3 variables named:
operand1
operand2
result
Set operand1 = 2 and operand2 = 7.
Evaluate the following expressions and produce the output as shown:
result = operand1 + operand2
result = operand2 – operand1
On Sun, Jul 13, 2014 at 12:25 AM, Danielle Salaz wrote:
> This is what I've been doing, also I'm using version 3.4
>
> set "(operand1 = 2 and operand2 = 7)
> print (operand1 = 2)
> print (operand2 = 7)
> print (result=operand1 + operand2)
> print (result=operand2 - operand1)
> print (result=operan
On 13/07/14 08:25, Danielle Salaz wrote:
This is what I've been doing, also I'm using version 3.4
set "(operand1 = 2 and operand2 = 7)
Do you by any chance have some Lisp or Scheme experience?
That looks like a Lispy kind of syntax...
Whatever, in Python you don't need to use words
like set o
I am using idle
Sent from my iPhone
> On Jul 11, 2014, at 1:50 PM, Alan Gauld wrote:
>
>> On 11/07/14 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: resul
This is what I've been doing, also I'm using version 3.4
set "(operand1 = 2 and operand2 = 7)
print (operand1 = 2)
print (operand2 = 7)
print (result=operand1 + operand2)
print (result=operand2 - operand1)
print (result=operand2 * operand1)
print (result=operand2 / operand1)
print (result=operand2
Hi Danielle, and welcome.
Others have already replied to your post, and I'm going to reply with
pretty much the same answer:
Please help us to help you! We're not mind-readers, we need to see the
actual error messages you get, and your actual code, not just a rough
paraphrase of it.
When Pyth
On 11/07/14 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
We need more detail.
How are you entering your code? Is it using a tool li
On Jul 11, 2014, at 1:50 AM, Danielle Salaz wrote:
> I'm a noob to Python and cannot figure out how to complete one of my
> assignments.
>
Welcome to Python - I’d hope you’ve been monitoring this Tutor list for at
least a few days -
> I am supposed to use operand1=2 and operand2=7
> To com
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
> 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
Unfortunately, you've paraphrased the error message enough that we can
not reproduce the problem. Since you're emailing on
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
Sent from my iPhone
_
12 matches
Mail list logo