Thread: python homework help

Results 1 to 5 of 5
  1. #1 python homework help 
    Donator

    H1N1's Avatar
    Join Date
    Oct 2009
    Posts
    789
    Thanks given
    25
    Thanks received
    59
    Rep Power
    138
    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)
    Reply With Quote  
     

  2. #2  
    Howdy

    gold_fish's Avatar
    Join Date
    Nov 2010
    Posts
    1,062
    Thanks given
    144
    Thanks received
    147
    Rep Power
    107
    Is it not asking for it to be cell_count = cell_count * 10

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2009
    Posts
    199
    Thanks given
    66
    Thanks received
    45
    Rep Power
    74
    Delete the first line, lol.
    You're assigning the value, when you're just supposed to be multiplying it by 10.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2020
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by gold_fish View Post
    Is it not asking for it to be cell_count = cell_count * 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.

    Quote Originally Posted by Eyeownyew View Post
    Delete the first line, lol.
    You're assigning the value, when you're just supposed to be multiplying it by 10.
    can you give me the correct code?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2020
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Kingkhan View Post
    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
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Buying python homework help
    By CrimsonGFX in forum Buying
    Replies: 1
    Last Post: 11-14-2016, 05:03 AM
  2. python homework need help asap!!
    By abd1 in forum Homework
    Replies: 2
    Last Post: 04-30-2015, 11:48 PM
  3. Maths homework help
    By Dave in forum Homework
    Replies: 6
    Last Post: 11-03-2009, 09:00 PM
  4. Homework help
    By O____O in forum Homework
    Replies: 6
    Last Post: 09-14-2009, 07:03 PM
  5. homework help Lol
    By Name Invalid in forum Homework
    Replies: 5
    Last Post: 09-13-2009, 12:19 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •