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!
Question #141
b"Python".decode("utf-8") is a bytes objects decoded back to a utf-8 string with the decode() function. It is a string! "Python".encode("ASCII") and b"Python" are bytes objects. (stackoverflow.com/questions/6224052/what-is-the-differenc...)
Which one is not a bytes object?
— The Python Quiz (@thepythonquiz) June 7, 2020
"Python".encode("ASCII")
b"Python"
b"Python".decode("utf-8")#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: