View the step-by-step solution to:

Question

auto service = (input('Enter your desired auto service' n'))

print ('You entered:', auto_service)

if

auto service == 'Oil change':

   print ('Cost of Oil change: $35')

elif auto service == 'Tire rotation':

   print ('Cost of tire rotation: $19')

elif auto service == 'Car wash: $7')

   print ('Cost of car wash: $7')

else:

   print ('Error: Requested service is not recognized.')

Top Answer

Variable names in Python can be any length and can consist of uppercase and lowercase letters ( A-Z , a-z ), digits ( 0-9 ),... View the full answer

python2.JPG

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question