Python Forum
How to Display Multiple Time Tables With While Loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Display Multiple Time Tables With While Loop
#2
You need to reset counter to 0 after the inner loop is done executing. Otherwise it retains the final value of 10, and the inner loop never executes.

Also, you don't need to declare variable types in Python, so you don't need lines like num = int(). It is sufficient to use num = 0.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: How to Display Multiple Time Tables With While Loop - by ichabod801 - Nov-10-2019, 03:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to display <IPython.core.display.HTML object>? pythopen 3 46,114 May-06-2023, 08:14 AM
Last Post: pramod08728
  Multiple.ui windows showing at the same time when I only want to show at a time eyavuz21 4 1,077 Dec-20-2022, 05:14 AM
Last Post: deanhystad
  Trying to loop through code to plot seaborn line plots across multiple subplots eyavuz21 0 1,722 Dec-05-2022, 10:46 AM
Last Post: eyavuz21
  Multiple Loop Statements in a Variable Dexty 1 1,228 May-23-2022, 08:53 AM
Last Post: bowlofred
  Multiple user defined plots with secondary axes using for loop maltp 1 1,505 Apr-30-2022, 10:19 AM
Last Post: maltp
  Real time Detection and Display Gilush 0 1,812 Feb-05-2022, 08:28 PM
Last Post: Gilush
  How to make for loop display on 1 Line Extra 3 1,483 Jan-12-2022, 09:29 PM
Last Post: Extra
  Slittping table into Multiple tables by rows drunkenneo 1 2,100 Oct-06-2021, 03:17 PM
Last Post: snippsat
  Display table field on multiple lines, 'wordwrap' 3python 0 1,799 Aug-06-2021, 08:17 PM
Last Post: 3python
  Trying to separate a loop across multiple threads stylingpat 0 1,701 May-05-2021, 05:21 PM
Last Post: stylingpat

Forum Jump:

User Panel Messages

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