1. Write a python program with a main function to read the file, and produce a list of all countries with a population above 400,000,000. The report will look something like this:
Countries with a population over 400000000.0
2. Modify your program so that the user can enter any positive value and the program will print a list of countries with populations above that value.
Enter population minimum: 500000000
Countries with a population over 500000000.0
3. Modify your program so the user can specify one of the following columns by name (Population, Area, Pop. Density, Coastline). These are the names from the first line of the data file. Only allow the user to enter one of these 4 names.
Enter column name: Area
Enter area minimum: 5000000
Countries with a area over 5000000.0
United States of America 9,631,420
4. Add a section to your program to produce a summary of either total population, total area, or total coastline, for each region in the file. This is where you want to use a dictionary, with the region as the key. This does not require any user input.
Total population by region:
ASIA (EX. NEAR EAST) 3,687,982,236
EASTERN EUROPE 119,914,717
NORTHERN AFRICA 161,407,133
WESTERN EUROPE 396,339,998
SUB-SAHARAN AFRICA 749,437,000
LATIN AMER. & CARIB 561,602,863
C.W. OF IND. STATES 280,081,548
NEAR EAST 191,179,128
NORTHERN AMERICA 331,672,307
I need this assignment done in the following format
"This needs to be more of a dynamic process taking the file I provided opening it and having the program copy each line to a list while stripping off the \n by .strip() and splitting the line by .split(',') that way it will be easier to select the correct data by something like
for aline in data_list:
print aline + aline
this type of code is what you will need for the majority of the assignment. you just have to find the correct column for the area or pop or etc. and check to see if each countries value for that column is greater than the value.(in the first example it is 400000000)"
Bu iş için 52 freelancer ortalamada $131 teklif veriyor
Hello, I'd be glad to develop the required python tool for you . looking forward to chat with you soon for more details. Best regards.
Hi Nice to meet you! I have much 10+ years of experience with Python and Machine Learning For a small scale of Machine Learning job, I use Pandas, Sci-kit, Sklearn. And for a large scale of Machine Learning job, I u Daha Fazla
Hi there... I am interested in your project. I am Python and Data Mining specialist, certified by Freelancer. I fully understand your requirements and I am sure I can help you. Please, let's discuss details about your Daha Fazla
I have done similar task in Python, to process CSV files. Can do the project in 1-2 hours time.........
Hi, I am so interested and confident in your python work. My profile tells everything about my skills and experiences. I can do it right now and get you the result within a day. I hope you can leave it with me and enjo Daha Fazla
Hello! I can make you Python script for each of your 4 steps and I will organize the code according to your instruction. This job will take a couple of hours max.
Hi. Dear. Your job posting has caught my attention. I have many experiences in python, tkinter, django. I can complete your project successfully. Thanks.
Hi there, Thank You for reviewing my job proposal. I have read and understood your assignment and I am sure I can finish it easily. I have more than 3 years of experience in processing csv data and list using pyt Daha Fazla
Hi! I'm senior python developer, working for 3 years now. I am expert in python automation using selenium for chrome and web scraping which I have done for sites like amazon, facebook, ebay etc. I am proficient in csv Daha Fazla
⭐Python Expert is here!! ⭐ Hi Client! Thank you for posting your project. I have 7 years of experiences with your projects. I have read your suggestions carefully. I can complete your project with high quality and sp Daha Fazla
Hello there, Myself Prakhar, i am working in python for last 3 years. I have read your description thoroughly and i am confident that i can do this easily and within a day Let's discuss further in personal chat. Regard Daha Fazla
Hi, I'm an experienced Data Scientist with several years of work done in data manipulation and ETL in general. I'm available right now so I can do this quickly and accurately. Let me know more details in the chat and w Daha Fazla
Hi, I can do it according special requirements to way it should be done. Could you please let me know Python version to use (2.x or 3.x)?