Python Forum
Padlock of alphabetical strings
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Padlock of alphabetical strings
#2
there is an increment of case and a break statement after the print, this is controlling flow, not the print statement.

if you indent the block containing case and break statement one level it will, of course, change program flow.
the print statement is only displaying the value of case and op_count, has nothing to do with program control.
Reply


Messages In This Thread
Padlock of alphabetical strings - by Men - Jan-12-2022, 05:32 PM
RE: Padlock of alphabetical strings - by Larz60+ - Jan-13-2022, 10:47 AM
RE: Padlock of alphabetical strings - by Men - Jan-13-2022, 03:44 PM
RE: Padlock of alphabetical strings - by deanhystad - Jan-13-2022, 08:20 PM
RE: Padlock of alphabetical strings - by Men - Jan-13-2022, 09:15 PM
RE: Padlock of alphabetical strings - by deanhystad - Jan-13-2022, 10:48 PM
RE: Padlock of alphabetical strings - by Men - Jan-14-2022, 04:36 AM
RE: Padlock of alphabetical strings - by deanhystad - Jan-14-2022, 06:56 PM
RE: Padlock of alphabetical strings - by Men - Jan-14-2022, 09:46 PM
RE: Padlock of alphabetical strings - by deanhystad - Jan-15-2022, 12:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  sorting row values alphabetical PolskaYBZ 1 2,504 Jan-27-2019, 01:49 PM
Last Post: stullis
  Write a code to output in alphabetical order AbdelaliPython 1 4,645 Jan-19-2018, 09:03 PM
Last Post: j.crater
  Strings inside other strings - substrings OmarSinno 2 3,698 Oct-06-2017, 09:58 AM
Last Post: gruntfutuk

Forum Jump:

User Panel Messages

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