Skip to content

lindalevy/Python-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Python-Challenge

created for week 3 homework

PYBank

code finished, written to use dictionary and lists

pyPoll

code finally finished

I ended up using lists and dict

the dict was a great way to sum the values by a candidate

but then I changed the dict out to lists (one for candidate and one for values)

this then allowed me to calculate on the values list and produce a third list of the percentages

I could have zipped these three lists all back together, but chose not to

having three seperate lists allowed me greater control over the output (spacing mainly)

About

Week 3 of the homework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages