Re: [Tutor] Variable list problem

2017-10-12 Thread Alan Gauld via Tutor
On 12/10/17 22:29, Le Mar wrote: > hi i'm wondering if anyone could help me with this exercise: > We can give you tips but we don;t do your homework for you. > 1. Read an integer number from the console, store the result in a variable > n > 2. Read ‘n’ integers from the console and store

[Tutor] Variable list problem

2017-10-12 Thread Le Mar
hi i'm wondering if anyone could help me with this exercise: 1. Read an integer number from the console, store the result in a variable n 2. Read ‘n’ integers from the console and store them in a list 3. Sort the list in reverse order – from highest to lowest 4. Loop over the elements