Minor bug in video for d_control_flow_strings #37
Closed
jlstanley-git
started this conversation in
General
Replies: 2 comments
-
Duplicate to an almost identical prior comment in Udemy Q&A on the video that I didn't find before posting here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
👍🏻 This is fixed in the pending update to the course |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the video, when you negated the written description of the end condition for the double() function ("until
x
is larger than 500"), you incorrectly wrote the while loop as:while x < 500
but the correct negation would be:
while x <= 500
Yes, this is a minor issue in this context and doesn't change the result, but it's a detail that could cause problems if the end condition was a number like 512.
Beta Was this translation helpful? Give feedback.
All reactions