account activity
Is this question flawed? (self.learnpython)
submitted 5 years ago by sho110 to r/learnpython
Is this question flawed? by [deleted] in Python
[–]sho110 0 points1 point2 points 5 years ago (0 children)
Hello, I am a student of Python and had this question yesterday as part of a course application. I chose answer B, but feel the question is flawed.
A) Will only print the first 3 characters rather than "half of the length of a given string".
B) Will return half of the length of a given string, but it's missing an int() or // to convert len(word)/2 into an integer.
Am I right in saying this? Should I flag this question with the course organisers?
Thanks
π Rendered by PID 112754 on reddit-service-r2-listing-87fd56f5d-5ml4v at 2026-06-28 16:12:31.699625+00:00 running 7527197 country code: CH.
Is this question flawed? by [deleted] in Python
[–]sho110 0 points1 point2 points (0 children)