Created
February 4, 2016 03:36
-
-
Save d30jeff/725343fcf0784bf58607 to your computer and use it in GitHub Desktop.
Cider
This file contains hidden or 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
| task_num = 1 | |
| def questions(): | |
| print ("Please select symbol") | |
| symbol = input() | |
| print ("'{}' has been selected as the symbol.".format(symbol)) | |
| print ("Please specify the height") | |
| height = input() | |
| for x in range(0, int(height)): | |
| print( str(symbol) * int(7)) | |
| print("Do you wish to continue? Y/N") | |
| return input() | |
| while True: | |
| x = questions() | |
| if x.upper() == "N": | |
| print("Task completed: {}".format(task_num)) | |
| break | |
| task_num += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment