> On Sep 24, 2017, at 22:34, edmundo pierre via Tutor <tutor@python.org> wrote: > > I am trying to sort float numbers input by an user from the bigger to smaller > number. I do not know how to compare float numbers. Any ideas? Thank you! > Edwin
Some basic ideas to think about: 1. inputs are usually strings, so make sure you are storing them as floats 2. put them in a list. You can then use list built-ins to sort What have you tried so far? Are you trying to start at all, or are you trying things that aren’t working? — David Rock da...@graniteweb.com _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor