Difference between revisions of "Python:Printing Several Items Tutorial"
|Line 93:||Line 93:|
Latest revision as of 21:12, 11 July 2017
ifstatement - testing strings and numbers
- Format Printing: displaying numbers and strings]
Which are the big countries by population?
Give the name and population of the countries that have a population of at least 200000000 that is 200 million.
Calculate per captia GDP
Show the name and the per capita gdp for each country with a pop of more than 200000000
Show the name only for those countries where the area is more than the population.
Population in millions
For the countries of South America, show the name and population divided by one million.