Edit typos and grammar and add python files

This commit is contained in:
lolabird 2023-06-25 18:03:14 -06:00
commit 991caf0521
16 changed files with 285 additions and 3 deletions

View file

@ -0,0 +1,13 @@
# Runestone.Academy thinkcspy course
# Chapter 2
# Problem 10
miles = input('How many miles did you drive before refueling?')
mi = int(miles)
gallons = input('How many gallons did you use to refuel your vehicle?')
gal = int(gallons)
mpg = mi / gal
print('Your fuel efficiency is', mpg, 'MPG.')