Created
June 19, 2017 13:13
-
-
Save buxtonpaul/f5292a7886e9a9c3666cd8d23b883afd to your computer and use it in GitHub Desktop.
Sample python fifo consumer
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
while True: | |
a=raw_input() | |
if not a: | |
continue | |
print a[::-1] | |
if a == "Hello 9": | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment