Skip to content

swatskool/python-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Python Challenge

Task 1: PyBank

The script opens and reads the csv file and converts the data into lists. Using various methods of lists it calculates the profit/loss, the total number of entries, the highest & lowest change and the bank entry corresponding to it using data dictionaries Output is printed to the terminal as well as written into file : PyBank_Swati.txt which is created at the same path

Task 2: PyPoll

The script opens and reads the csv file and converts the data into data dictionary The dictionary helps to calculate the number of votes per candidate, their corresponding percentage and finally we find the winning candidate with the help of a user defined function Output is printed to the terminal as well as written into file : PyPoll_Swati.txt which is created at the same path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages