Python Forum
What's wrong with these codes?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's wrong with these codes?
#4
If the for exits, the i += 1 will kill the while loop by raising IndexError at next iteration.
Reply


Messages In This Thread
What's wrong with these codes? - by bouraque7878 - Oct-27-2021, 07:25 PM
RE: What's wrong with these codes? - by Axel_Erfurt - Oct-27-2021, 07:41 PM
RE: What's wrong with these codes? - by Yoriz - Oct-27-2021, 08:04 PM
RE: What's wrong with these codes? - by Gribouillis - Oct-27-2021, 08:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 5,411 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  python gives wrong string length and wrong character thienson30 2 4,174 Oct-15-2019, 08:54 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020