Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strings that cycles
#5
(Feb-12-2017, 10:17 PM)Larz60+ Wrote: Please show your code

list1 = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']

while list1 > list1[25]:
    print list2 = ['a' + v for v in list1]
    list2 
    while list2 > list2[25]:
        list3 = ['b' + v for v in list1]
    list3
THIS GIVE US ERROR

this is what we have so far. we are new using python and were given with this assignment. thank you for replying
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,014 Sep-09-2021, 01:53 PM
Last Post: Roman_Y
  Strings inside other strings - substrings OmarSinno 2 3,702 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