#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    0

    Write a program to display the population


    Hi, I am the beginner for python

    I have an assignment as me to write a program

    Here is the quesiton:

    The US Census Bureau projects population baed on the following assumptions:

    one birth every 7 sec.
    one death every 13 sec
    one new immigrant every 45 sec.

    write a program to display the population for each of the next five year. Assume the current population is 312032486 and one year has 365 days.
    Also, it said you can use integer division operator to perform division. (Can someone explain to me what is the integer division?)

    Can someone give me the tip or show me how to write this program?
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,616
    Rep Power
    4247
    This isn't a free homework forum. Please show us that you've at least put some effort into solving the problem yourself.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    0
    Originally Posted by Scorpions4ever
    This isn't a free homework forum. Please show us that you've at least put some effort into solving the problem yourself.
    the problem is I don't even know what to start with....


    so this is why i ask the question, and hope someone can explain to me what to do.

IMN logo majestic logo threadwatch logo seochat tools logo