Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.70K
1 Posted Topic
The answer didnt work for me. I have python 3 so that may be why but i made a fixed version for python 3. def print_cities(name): with open('cities.csv') as citylist: print ('Cities:\n',citylist.read()) def add_city(city_info): with open('cities.csv','a') as citylist: citylist.write('%s, %i, %i\n' % city_info) print_cities('Before') new_city = ('Espoo', 123, 212) add_city(new_city) …
The End.
Wesley_1