I am using the following code
import csv
with open('skill.csv', 'r') as csv_file:
csv_reader = csv.DictReader(csv_file)
# next(csv_reader)
for line in csv_reader:
print(line)
Here is what the csv contains:
Skill,amount_of_skill
First aid,50
Stealth,40
It outputs:
OrderedDict([('Skill', 'First aid'), ('amount_of_skill', '50')])
OrderedDict([('Skill', 'Stealth'), ('amount_of_skill', '40')])
How do I get it to just say:
First Aid 50
Stealth 40