-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroup_compare.py
More file actions
29 lines (21 loc) · 833 Bytes
/
Copy pathgroup_compare.py
File metadata and controls
29 lines (21 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name1 = input("Please enter name of group 1: ")
name2 = input("Please enter name of group 2: ")
name3 = input("Please enter name of group 3: ")
name = (name1, name2, name3)
size1 = input("\nPlease enter size of group 1: ")
size2 = input("Please enter size of group 2: ")
size3 = input("Please enter size of group 3: ")
size = (size1, size2, size3)
points1 = input("\nPlease enter points of group 1: ")
points2 = input("Please enter points of group 2: ")
points3 = input("Please enter points of group 3: ")
points = (points1, points2, points3)
print("\nNames of groups:")
for i in range(3):
print(f"Group {i+1}: {name[i]}")
print("\nSizes of groups:")
for i in range(3):
print(f"Group {i+1}: {size[i]}")
print("\nPoints of groups:")
for i in range(3):
print(f"Group {i+1}: {points[i]}")