Created
October 18, 2022 04:11
-
-
Save RaMSFT/354099094b87c9fde23b90f3ef48cddf to your computer and use it in GitHub Desktop.
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
| def long_burp(num): | |
| burp_str = 'Burp' | |
| long_r = 'r' * num | |
| long_burp_str = burp_str.replace('r', long_r) | |
| return long_burp_str | |
| print(long_burp(3)) | |
| print(long_burp(5)) | |
| print(long_burp(9)) | |
| print(long_burp(25)) | |
| print(long_burp(32)) | |
| print(long_burp(13)) | |
| print(long_burp(11)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment