Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
for x in len()?
#5
(Apr-15-2018, 12:17 AM)IAMK Wrote: As for the second solution, I'm using the number of the elements rather than the data, so the first solution is better for me.
Actually, no - the first is not better. Please, read https://python-forum.io/Thread-Basic-Nev...n-sequence
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 x in len()? - by IAMK - Apr-14-2018, 11:05 PM
RE: for x in len()? - by Larz60+ - Apr-14-2018, 11:26 PM
RE: for x in len()? - by IAMK - Apr-15-2018, 12:17 AM
RE: for x in len()? - by Larz60+ - Apr-15-2018, 12:23 AM
RE: for x in len()? - by buran - Apr-15-2018, 01:03 AM
RE: for x in len()? - by IAMK - Apr-15-2018, 01:50 AM

Forum Jump:

User Panel Messages

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