Skip to content

Conversation

@Baby-McBabyFace
Copy link

Changed how the code prints its results.

randStr = "foo bar"
print("Value is ", randStr)
produces Value is foo bar (can't see it on github)

while

randStr = "foo bar"
print("Value is", randStr)
produces Value is foo bar

Notice that there is a double space on the former code between is and foo

Edited from #!/usr/bin/python3 to #!/usr/bin/env python for compatibility

Replaced elif resp >= '4': with else: to catch negative numbers and strings

AlexisAhmed pushed a commit that referenced this pull request Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant