Python Forum
List index out of range error when attempting to make a basic shift code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List index out of range error when attempting to make a basic shift code
#4
if z is in the message, then the program will attempt to shift z to the next available value in the list, this does not exist. Maybe add an if statement (psuedocode):
if z is in the message:
    turn z into a
Reply


Messages In This Thread
RE: List index out of range error when attempting to make a basic shift code - by BitPythoner - Aug-16-2020, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  hi need help to make this code work correctly atulkul1985 5 827 Nov-20-2023, 04:38 PM
Last Post: deanhystad
  newbie question - can't make code work tronic72 2 717 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Cleaning my code to make it more efficient BSDevo 13 1,407 Sep-27-2023, 10:39 PM
Last Post: BSDevo
  Why do I have to repeat items in list slices in order to make this work? Pythonica 7 1,380 May-22-2023, 10:39 PM
Last Post: ICanIBB
  pyscript index error while calling input from html form pyscript_dude 2 1,010 May-21-2023, 08:17 AM
Last Post: snippsat
  Index error help MRsquared 1 791 May-15-2023, 03:28 PM
Last Post: buran
Thumbs Down I hate "List index out of range" Melen 20 3,387 May-14-2023, 06:43 AM
Last Post: deanhystad
  how to make bot that sends instagram auto password reset code kraixx 2 1,429 Mar-04-2023, 09:59 PM
Last Post: jefsummers
  Find a shift between 2 pictures TazFleck 0 1,190 Jan-18-2023, 09:56 PM
Last Post: TazFleck
  help me to make my password list in python >>> Oktay34riza 0 595 Dec-23-2022, 12:38 PM
Last Post: Oktay34riza

Forum Jump:

User Panel Messages

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