Oct-29-2019, 03:08 PM
Hello, I am trying to solve a puzzle that is written in python. The solution is a set of gps coordinates like "N 38 32.321 W 90 31.312" The statement is a repeating python code. I think the solution is to add a "break" but I don't know how to properly do this in python. Does anyone know how to change the code to print the solution? Here is the code:
s=12 for i in range (33): o=i Clarke=77 import random e=random.randint (6,8) Hector=485 laisis_fuscus=77 w=random.randint(1,6) if e==6: e+=32 elif e==8: e+=30 else: e+=31 p=475 s*=2 Boggs=len("laisis_fuscus") while not (w==6): print(laisis_fuscus) w+random.randint(1,6) print ("Hector") a=Boggs+Clarke n=Hector+a s+=5 if s==o: p+=2 else: p-=2 n+=Clarke