Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strings that cycles
#6
Please use code or python tags. Please don't use formatting tags, especially in your code. And in the future, if you get an error, show us the full error so we know what it is.

You can't do an assignment in a print statement. You need to assign the value in one statement, then print it in another.

I don't understand you're while conditions at all. What are you expecting to get comparing the whole list to the last item in the list?

You want to loop until your list is 10,000 items long, and each loop you want to with the next item or items in that list.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
strings that cycles - by lizarragaman - Feb-09-2017, 09:25 PM
RE: strings that cycles - by micseydel - Feb-09-2017, 09:26 PM
RE: strings that cycles - by lizarragaman - Feb-12-2017, 09:20 PM
RE: strings that cycles - by Larz60+ - Feb-12-2017, 10:17 PM
RE: strings that cycles - by lizarragaman - Feb-12-2017, 10:26 PM
RE: strings that cycles - by nilamo - Feb-13-2017, 12:54 AM
RE: strings that cycles - by ichabod801 - Feb-13-2017, 12:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cycles homework Roman_Y 3 2,016 Sep-09-2021, 01:53 PM
Last Post: Roman_Y
  Strings inside other strings - substrings OmarSinno 2 3,703 Oct-06-2017, 09:58 AM
Last Post: gruntfutuk

Forum Jump:

User Panel Messages

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