The Python Oracle

How can I map a continuous variable to discrete strings, using dictionaries or otherwise in Python?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping

--

Chapters
00:00 How Can I Map A Continuous Variable To Discrete Strings, Using Dictionaries Or Otherwise In Python?
01:47 Accepted Answer Score 3
02:08 Answer 2 Score 2
02:34 Answer 3 Score 0
02:52 Thank you

--

Full question
https://stackoverflow.com/questions/5555...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #dictionary #range

#avk47