Python Forum
python seems to be skipping lines of code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python seems to be skipping lines of code
#2
tmpLevel = level
level = 5 #int(linesCleared / 10)
This is not your problem, but the second line of code here overwrites the previous
remove line 105

before if timeShiftDown - 0.08 < 0.03:
add: print(f"in loop, tmpLevel: {tmpLevel}"

show results
Reply


Messages In This Thread
RE: python seems to be skipping lines of code - by Larz60+ - Jun-22-2021, 01:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  File loop curiously skipping files - FIXED mbk34 10 892 Feb-10-2024, 07:08 AM
Last Post: buran
  What are these python lines for? What are tey doing? Led_Zeppelin 7 1,654 Feb-13-2023, 03:08 PM
Last Post: deanhystad
  Regular Expression search to comment lines of code Gman2233 5 1,728 Sep-08-2022, 06:57 AM
Last Post: ndc85430
  Skipping line in text without Restarting Loop IdMineThat 4 1,530 Apr-05-2022, 04:23 AM
Last Post: deanhystad
  I want to simplify this python code into fewer lines, it's about string mandaxyz 5 2,180 Jan-15-2022, 01:28 PM
Last Post: mandaxyz
  Running a few lines of code as soon as my timer ends nethatar 3 2,447 Feb-26-2021, 01:02 PM
Last Post: jefsummers
  Assistance with running a few lines of code at an EXACT time nethatar 5 3,307 Feb-24-2021, 10:43 PM
Last Post: nilamo
  Making new lines of code AvioxyYT 1 1,832 Jan-22-2021, 07:02 PM
Last Post: buran
  Repeating lines of code by an input Josh_Albanos 3 2,450 Oct-15-2020, 01:04 AM
Last Post: deanhystad
  Beginner: I need help understanding few lines of a code. hop_090 1 1,717 Sep-07-2020, 04:02 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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