r/pythontips • u/main-pynerds • Jan 25 '25
Python3_Specific How well do you understand Python variables and data types? Take a quiz.
What did you score?
9
Upvotes
r/pythontips • u/main-pynerds • Jan 25 '25
What did you score?
6
u/GrainTamale Jan 25 '25 edited Jan 25 '25
I've been using Python for 13 years and I was today years old when I learned about
nonlocal, boolean addition, and complex types... I probably still won't use them.3
u/jpgoldberg Jan 26 '25
15/20. One of them was just me tapping the wrong thing on the complex question. And in retrospect I should have gotten the float(“nan”) thing right. I am unhappy to learn how Python treats addition of booleans, and I now need to look up what “local” is and whether it is ever something I would want to use.
3
u/Competitive-Wolf7150 Jan 26 '25
70% got 14 correct answer
2
u/InvaderToast348 Jan 26 '25
Interesting, thank you.
I got 85% - 2, 13, 15 I got wrong.
2
u/Some-Conversation517 Jan 26 '25
Hey it was fun 100%
2
u/Low88M Jan 27 '25
A year ago I never had used python or any prog langage (even a print()), i feel quite fond of my 80% and grateful for the test ! I’ve learned a bit more !!! Thx
2
u/[deleted] Feb 10 '25
Got 13/20
1
u/Some-Conversation517 Jan 26 '25
Hey it was fun 100%
1
u/essenkochtsichselbst Jan 27 '25
11 correct answers. The edge case questions are always making me get confused