Question: (Python) How to repeat these questions without having to rewrite the code? (Such as how many people is in group 1,2,3,4?) How many groups would

(Python) How to repeat these questions without having to rewrite the code? (Such as how many people is in group 1,2,3,4?)

How many groups would you like to analyze? 4

How many people is in group 1? 2

What was persons 1 game points? 400

What was persons 2 game points? 150

How many people is in group 2? 3

What was persons 1 game points? 800

What was persons 2 game points? 200

What was persons 3 game points? 500

How many people is in group 3? 2

What was persons 1 game points? 130

What was persons 2 game points? 200

How many people is in group 4? 3

What was persons 1 game points? 600

What was persons 2 game points? 650

What was persons 3 game points? 400

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!