Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class County:
- def __init__(self, init_name, init_population, init_voters):
- self.name = init_name
- self.population = init_population
- self.voters = init_voters
- a = County('washington', 10000, 90000)
- print(a.voters / a.population)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement