aliens.py Part 2

TEAM NAME: JIV 

aliens.py part 1 code 

aliensjiv01

Flowchart 

flowChart.jpg

aliens.py Part 2 pseudocode

Create variables for aliens landed on earth and amount of weeks
Tell user purpose of program
Ask user how many aliens landed on Earth
Check if user gave positive integer and if not repeat question
Ask user how long the aliens been on Earth (weeks)
Check if user gave positive integer and if not repeat questions
Use math equation to determine and display the alien population on earth each week.

aliens.py Part 2 code

screen-shot-2017-01-18-at-9-27-02-am 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s