Python Forum
I need help with loop one function and creating variables
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help with loop one function and creating variables
#4
You are not listening and keep trying to create variables names dynamically. Almost always and certainly in this case it's a bad idea.
Please put your question in broader context and elaborate what your goal is, so we can understand and try to help you better
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: I need help with loop one function and creating variables - by buran - Jan-24-2019, 07:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to print variables in function? samuelbachorik 3 966 Dec-31-2022, 11:12 PM
Last Post: stevendaprano
  Creating a loop with dynamic variables instead of hardcoded values FugaziRocks 3 1,556 Jul-27-2022, 08:50 PM
Last Post: rob101
  User-defined function to reset variables? Mark17 3 1,715 May-25-2022, 07:22 PM
Last Post: Gribouillis
  WHILE Loop - constant variables NOT working with user input boundaries C0D3R 4 1,538 Apr-05-2022, 06:18 AM
Last Post: C0D3R
  how to use 3 variables python loop evilcode1 2 1,715 Nov-12-2021, 11:43 AM
Last Post: jamesaarr
  creating a loop yk303 2 1,896 Feb-08-2021, 08:41 PM
Last Post: nilamo
  Do I have to pass 85 variables to function? Milfredo 10 4,421 Sep-26-2020, 10:13 PM
Last Post: Milfredo
  Exit Function - loop Tetsuo30 2 2,105 Sep-17-2020, 09:58 AM
Last Post: Tetsuo30
  Creating a variables inside FOR loop zazas321 5 4,170 Sep-16-2020, 04:42 PM
Last Post: Naheed
  [split] Creating a variable as a function DPaul 23 6,981 Sep-07-2020, 05:20 PM
Last Post: DPaul

Forum Jump:

User Panel Messages

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