Python Forum
name "MyVariable" can be undefined
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
name "MyVariable" can be undefined
#2
Something is really wrong with this code. The while 4 < 5 will loop indefinitely because the condition is always True, and everything under the while 5 > 6 will never be executed because the condition is always False.
Reply


Messages In This Thread
RE: name "MyVariable" can be undefined - by Gribouillis - Aug-20-2020, 02:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  undefined function error JonWayn 5 1,523 Sep-11-2022, 03:38 AM
Last Post: JonWayn
  Undefined Led_Zeppelin 4 1,471 Aug-02-2022, 11:57 AM
Last Post: buran
  ImportError: /home/pybind11_example.cpython-37m-x86_64-linux-gnu.so: undefined symbol chaitra 2 5,181 Feb-03-2021, 05:14 AM
Last Post: chaitra
  function error: undefined variable Atlantic_3000 3 7,034 Apr-12-2020, 02:53 AM
Last Post: bowlofred
  name undefined Coding Error Ewilliam51 2 2,170 Feb-06-2020, 12:19 AM
Last Post: Ewilliam51
  Timestamp is undefined ErnestTBass 7 8,029 Feb-16-2019, 08:27 PM
Last Post: snippsat
  python charmap codec can't decode byte X in position Y character maps to < undefined> owais 9 39,293 Apr-28-2018, 10:52 PM
Last Post: abadawi
  Python code with serial port and global undefined marciokoko 13 14,600 Jan-17-2017, 06:14 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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