Python Forum
Logic error when comparing randomly generated integers
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logic error when comparing randomly generated integers
#4
Naming such a VariableNames ( with capitalized first letter of each word ) is used on classes. It's confusing reading your code.
Use variable_name instead.
https://www.python.org/dev/peps/pep-0008/
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: Logic error when comparing randomly generated integers - by wavic - Jun-05-2017, 01:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pyaudio seems to randomly halt input. elpidiovaldez5 2 550 Jan-22-2024, 09:07 AM
Last Post: elpidiovaldez5
  Logic suggestions for comparing 2 csv's cubangt 7 1,366 Nov-09-2023, 09:54 PM
Last Post: cubangt
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 770 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  HOW TO USE C# GENERATED DLL davide_vergnani 2 1,921 Jun-12-2023, 03:35 PM
Last Post: davide_vergnani
  boto3 - Error - TypeError: string indices must be integers kpatil 7 1,600 Jun-09-2023, 06:56 PM
Last Post: kpatil
  Error "list indices must be integers or slices, not str" dee 2 1,721 Dec-30-2022, 05:38 PM
Last Post: dee
  Python Logic Error rmfooty 3 1,048 Dec-05-2022, 01:44 PM
Last Post: rmfooty
  how to take a screnshot by Pyautogui automatically and randomly rachidel07 0 3,689 Feb-03-2021, 01:16 PM
Last Post: rachidel07
  list indices must be integers or slices, not lists error djwilson0495 2 2,988 Aug-27-2020, 06:13 PM
Last Post: deanhystad
  comparing integers and fractions tantony 3 2,114 Oct-02-2019, 04:32 PM
Last Post: tantony

Forum Jump:

User Panel Messages

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