Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Easy script problem
#4
Did I say there was anything wrong with the for loops? No. The for loops are fine. In fact that while loop is going to cause you problems, because you have no way to get out of it. It will just run forever. The for loops are fine, you just need to put the right things in the right loops.

After the last thread, you had a working encrypter, right? Take that code, all of it, without changing it, and put it in a for loop. Then take out the part that asks for a distance, and make the distance the looping variable. Then take out the part that asks for a phrase, and put that at the beginning.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Easy script problem - by Niko047 - Jul-22-2017, 12:38 PM
RE: Easy script problem - by ichabod801 - Jul-22-2017, 01:10 PM
RE: Easy script problem - by Niko047 - Jul-22-2017, 02:58 PM
RE: Easy script problem - by ichabod801 - Jul-22-2017, 03:13 PM
RE: Easy script problem - by Niko047 - Jul-22-2017, 03:33 PM
RE: Easy script problem - by ichabod801 - Jul-22-2017, 09:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with a simple script Niko047 2 3,431 Jul-21-2017, 09:02 PM
Last Post: Niko047

Forum Jump:

User Panel Messages

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