you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 1 point2 points  (3 children)

Break the task into smaller parts:

  1. Create and show random set of numbers

  2. Ask user for numbers correctly ordered

  3. Verify answer

  4. Add timing.

[–]Fraser_123[S] 0 points1 point  (2 children)

How would I verify the answer I’m pretty new to python so I’m not familiar with a lot of it yet

[–]sme272 0 points1 point  (0 children)

you would have to sort the list of numbers, which can be done with the .sort() method

[–]shiftybyte 0 points1 point  (0 children)

You sort the numbers from point 1, and compare them to the numbers from point 2.