0
list = "\n==== Names and Distances ====\n"
firstName = input ("Enter next person's first name >")
while firstName > "":
distance= float(input("Enter distance thrown: "))
list = list + firstName + "." + str(distance) + "\n"
firstName = input ("Enter next person's first name >")
largest = max([distance])
smallest = min([distance])
print (list)
print ("the longest distance is: " + str(largest))
print (smallest)
프로그램을 실행할 때 프로그램을 실행할 때 최소값을 얻는 방법에 대한 최대 및 최소 동일한 아이디어를 얻을 수 있습니까? 이 있다고 가정프로그램을 찾는 방법