# ๐จ Don't change the code below ๐
student_heights = input("Input a list of student heights ").split()
for n in range(0, len(student_heights)):
student_heights[n] = int(student_heights[n])
# ๐จ Don't change the code above ๐
#Write your code below this row ๐
# sum the total height
total_height = 0
for height in student_heights:
total_height += height
print(total_height)
# find number of students
number_of_students = 0
for student in student_heights:
number_of_students += 1
print(number_of_students)
# find average heights:
average_height = round((total_height / number_of_students))
print(f"The average height is {average_height} cm")
# ๐จ Don't change the code below ๐
student_scores = input("Input a list of student scores ").split()
for n in range(0, len(student_scores)):
student_scores[n] = int(student_scores[n])
print(student_scores)
# ๐จ Don't change the code above ๐
#Write your code below this row ๐
heighest_score = 0
for score in student_scores:
if score > heighest_score:
heighest_score = score
print(f"The heighest score is in {heighest_score}")