Python Forum
don't know indenting of break and continue
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
don't know indenting of break and continue
#4
And also you will have to add another if to test for an empty string (""). In that case you must print "That's less than seven, but OK" and do a break to exit the for loop.
Reply


Messages In This Thread
RE: don't know indenting of break and continue - by ibreeden - Sep-18-2020, 08:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sublime Text + Anaconda not indenting Python code correctly Maxximiliann 0 2,025 Jun-13-2020, 06:09 PM
Last Post: Maxximiliann
  Conditionals, while loops, continue, break (PyBite 102) Drone4four 2 3,038 Jun-04-2020, 12:08 PM
Last Post: Drone4four
  IDLE indenting 29 columns after defining function Cosmo_Kane 1 2,453 Jun-03-2018, 08:53 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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