Algorithm. Tony Gaddis book 2 Starting python3

shi shi at somewhere.be
Sun Jan 27 14:25:46 EST 2013


Hello George,

I found the book you're referring to via google (searching for: tony 
gaddis starting out with python). The question is this:

3. Write assignment statements that perform the following operations 
with the variables a,b and c.
a. Adds 2 to a and assigns the result to b
b. Multiplies b times 4 and assigns the result to a
c. Divides a by 3.14 and assigns the result to b
d. Subtracts 8 from and assigns the result to a

The typical way this list helps in homework assignments is
for the student to post his solution first, and then
let someone explain if/why something is wrong, and how to
go about the right solution.

I think you will have a lot of fun learning python.
It's very rewarding.

Best regards,
Stefaan.



More information about the Python-list mailing list