Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- highest = logdp[0] #type: CountryGDP
- for gdp in logdp:
- if gdp.cgdp >= highest.cgdp:
- highest = gdp
- return highest.name
- average = louemp[0] #type: Unemployment
- for uemp in louemp:
- if uemp.rate > 0:
- average = uemp
- return sum(uemp.rate)/float(len(louemp))
- `
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement