Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
For loops in python
#4
Also note that list is built-in function. It shouldn't be used as name, because this way it shadows the built-in function you cannot use it. I understand this is simple example code, but anyway keep it in mind
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
For loops in python - by Boinbo - Apr-17-2020, 11:27 PM
RE: For loops in python - by micseydel - Apr-17-2020, 11:33 PM
RE: For loops in python - by Boinbo - Apr-17-2020, 11:35 PM
RE: For loops in python - by buran - Apr-18-2020, 01:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why both loops don't work in python? nau 3 1,130 Sep-21-2022, 02:17 PM
Last Post: rob101
  Why does Python not use parenthesis to contain loops? davidorlow 3 3,514 Jun-09-2021, 06:33 AM
Last Post: Gribouillis
  Python for loops Kristenl2784 3 52,254 Jun-16-2020, 06:01 PM
Last Post: Yoriz
  For loops help, using python turtle SemiBeginnerPY 2 3,994 Mar-10-2020, 10:46 AM
Last Post: SemiBeginnerPY

Forum Jump:

User Panel Messages

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