Skip to content

Commit

Permalink
A: Python - IPP #1 - see desc:.
Browse files Browse the repository at this point in the history
So, on line 39 removed indent on the input for exiting, this allows for the program to run once (thus fixing the issue seen in the previous commit for this file). However, we then experience a traceback nameError, which is also seen in the screenshot attached to this repo and commit. Working through it.
  • Loading branch information
Gizmotronn committed Dec 13, 2019
1 parent e10eb9f commit cb69e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impractical-projects/1. Name Generator/1.name-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@

print(yourFirstName + " k " + yourLastName)

"""print("\n\n")
print("\n\n")
print("{} {}".format(yourFirstName, yourLastName), file-sys.stderr)
print("\n\n")

try_again = input("\n\nTry again? (Press Enter else n to quit)\n ") # Exit loop (lines 33-37)
if try_again.lower() == "n":
break

input("\nPress Enter to exit. ")"""
input("\nPress Enter to exit. ")


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cb69e57

Please sign in to comment.