Created
September 16, 2020 20:22
-
-
Save calthoff/50153a14c4d31fe175697060ca47e3af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#exercise 1 | |
print("It was a bright cold day in April, and the clocks were striking thirteen."[:33]) | |
#exercise 2 | |
print(""" "Hi" """) | |
#exercise 3 | |
print('A screaming comes across the sky.'.replace('s', '$')) | |
#exercise 4 | |
print("Hemingway".index('m')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exercise 3 needs to be checked. The IDE is falsely flagging a correct solution, including the one proposed here, because the word "across" in the solution is missing an "s".