Created
April 23, 2017 11:05
-
-
Save nattybear/ecb29ddd980d846f5b059a22e340ccdc to your computer and use it in GitHub Desktop.
알고스팟 URI
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
| table = {"%20" : " ", | |
| "%21" : "!", | |
| "%24" : "$", | |
| "%25" : "%", | |
| "%28" : "(", | |
| "%29" : ")", | |
| "%2a" : "*"} | |
| def convert(string): | |
| for i in table.keys(): | |
| string = string.replace(i, table[i]) | |
| print(string) | |
| num = int(input()) | |
| for i in range(num): | |
| convert(input()) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
문제 풀이 전략
소감