Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write python code Week 1 Main code: p1 = Player (Paul, 21, 2100, 3, 1) p2 = Player (Patrick, 22, 2200, 4, 2) p3 =

write python code image text in transcribed

Week 1 Main code: p1 = Player ("Paul", 21, 2100, 3, 1) p2 = Player ("Patrick", 22, 2200, 4, 2) p3 = Player ("Pierre", 23, 2300, 1, 0) p4 = Player ("Perry", 24, 2400, 0, 2) m1 = Manager ("Mary", 30, 3100, 100) m2 = Manager ("Martha", 35, 3200, 200) t1 = Team("Tigers", "Tokyo", ?, ?) t1.printTeam() t2 = Team("Titans", "Tehran", ?, ?) t2.printTeam() 'eek 1 Output: Team Tigers plays in Tokyo rating 9 value 7500 * Managed by Mary is 30 years old earns 3100/m - also gets 100 for travel so 3200 total * Players: Paul is 21 years old and earns 2100/m. - has 3 goals and 1 assists and rating 7 Pierre is 23 years old and earns 2300/m - has 1 goals and 0 assists and rating 2 Team Titans plays in Tehran rating 12 value 7800 * Managed by Martha is 35 years old earns 3200/m - also gets 200 for travel so 3400 total. * Players: Patrick is 22 years old and earns 2200/m - has 4 goals and 2 assists and rating 10 Perry is 24 years old and earns 2400/m. - has 0 goals and 2 assists and rating 2

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

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

1. Design an effective socialization program for employees.

Answered: 1 week ago