Lab Experiment > Week 8 Lab Felician University CS 201


Felician University CS 201 1. Sorted Golf Scores Design a program that asks the user to enter 10 golf scores. The scores should be stored in an Integer array. Sort the array in ascending order and display its contents. golfScore = list() print('Enter 10 golf scores : ') for i in range(int(10)): n = input("Score Value :") golfScore.append(int(n)) print('Golf Score Befor ...[Show More]

Preview 1 out of 1 pages
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )