Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve using python; show all work and explain. THANK YOU How would I make a code that has the following: Sandy is file, First

Please solve using python; show all work and explain. THANK YOU

image text in transcribed
How would I make a code that has the following: Sandy is file, First number is practice score, Second number is Tournament score. this for an input sequence Sandy 3 Basketball 42 24 Badminton 58 40 Swim 40 39 INPUT DISPLAY Enter athlete's name: Sandy Enter number of sports: 3 Enter sport name: Basketball Enter practice score: 42 Enter tournament score: 24 Enter sport name: Badminton Enter practice score: 58 Enter tournament score: 40 Enter sport name: Swim Enter practice score: 40 Enter tournament score: 39 OUTPUT DISPLAY Basketball: Fourth, 66 Badminton: First, 98 Swim: Third, 79 NOTE: - 60% practice =36 60 and 60% tournament =24/ 40 - 50% practice= 30/60 and 50% tornament= 20/40 USE: TUPLES, and function with specific name DON'T use dictionaries or external modules PLACE Final score First 90-100 Fourth 60-69

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions