The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
It will throw a TypeError error. The hex() function only takes integers as arguments. Floats can be converted to their hexadecimal form with the float.hex() function. (geeksforgeeks.org/python-hex-function)
Question difficulty: 🔵🔵🔵🔵🔵