python homework help

H1N1

Donator
 
Oct 20, 2009
792
22
0
Write a statement that assigns cell_count with cell_count multiplied by 10. * performs multiplication. Sample output for the given program:
100

Code:
cell_count = 10

cell_count = 10  * 10


print(cell_count)

RF9qPMv.png
 
Is it not asking for it to be cell_count = cell_count * 10
 
Delete the first line, lol.
You're assigning the value, when you're just supposed to be multiplying it by 10.
 
I am having the same issue. i am not sure why i dont get 420 in the second part. I get the first part correct but not the second part.



can you give me the correct code?

Correct code has already been given to you in the first reply:
Code:
cell_count = cell_count * 10

They assign cell_count the initial value 420 and therefore it does 420 * 10 = 4200
 

Users who are viewing this thread (total: 1, members: 0, guests: 1)

Who read this thread (total members: 1)