Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
corrected some code
  • Loading branch information
linuxlawson authored Aug 15, 2023
1 parent 65859d9 commit 57321f7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions joshua.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def convo_three():
def view_stats():
time.sleep (0.6)
print ("")
string = (white + " UNITED STATES\n UNITS DESTROYED MILITARY FORCES\n"
string = (f"{white} UNITED STATES\n UNITS DESTROYED MILITARY FORCES\n"
"\n 68% BOMBERS\n"
" 54% ICBM'S\n"
" 12% ATTACK SUBS\n"
Expand Down Expand Up @@ -501,15 +501,15 @@ def view_stats():
time.sleep (.5)

#wopr
string = (white + "WHATS THE DIFFERENCE?\n" + endc)
string = (f"{white}WHATS THE DIFFERENCE?\n{endc}")
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(.05)

#wopr
time.sleep (1)#here
string = (white + "\nYOU ARE A HARD MAN TO REACH. COULD NOT FIND \nYOU IN SEATTLE AND NO TERMINAL IS IN \nOPERATION AT YOUR CLASSIFIED ADDRESS.\n\n\n" + endc)
string = (f"{white}\nYOU ARE A HARD MAN TO REACH. COULD NOT FIND \nYOU IN SEATTLE AND NO TERMINAL IS IN \nOPERATION AT YOUR CLASSIFIED ADDRESS.\n\n\n{endc}")
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
Expand All @@ -521,25 +521,25 @@ def view_stats():
time.sleep (.5)

#wopr
string = (white + "\nDOD PENSION FILES INDICATE \nCURRENT MAILING AS:\n\n" + endc)
string = (f"{white}\nDOD PENSION FILES INDICATE \nCURRENT MAILING AS:\n\n{endc}")
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(.05)

string = (white + " Dr. Robert Hume (aka Stephen W. Falken)\n" + endc)
string = (f"{white} Dr. Robert Hume (aka Stephen W. Falken)\n{endc}")
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(.04)

string = (white + " 5 Tall Cedar Road\n" + endc)
string = (f"{white} 5 Tall Cedar Road\n{endc}")
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(.04)

string = (white + " Goose Island, Oregon 97014\n\n\n" + endc)
string = (f"{white} Goose Island, Oregon 97014\n\n\n{endc}")
for char in string:
sys.stdout.write(char)
sys.stdout.flush()
Expand Down Expand Up @@ -593,7 +593,7 @@ def davids_grades():
print (f"{white}\nPLEASE ENTER STUDENT NAME: Lightman, David L")
print ("\n\n CLASS # COURSE TITLE GRADE TEACHER PERIOD ROOM")
print (f"{bold} ____________________________________________________________________{endc}")
print (F"{white}\n S-202 BIOLOGY 2 F LIGGET 3 214")
print (f"{white}\n S-202 BIOLOGY 2 F LIGGET 3 214")
print (" E-325 ENGLISH 11B D TURMAN 5 114")
print (" H-221 WORLD HISTORY 11B C DWYER 2 108")
print (" L-134 TRIG 2 B DICKERSON 4 315")
Expand Down

0 comments on commit 57321f7

Please sign in to comment.