Created
March 15, 2018 23:41
-
-
Save jordanhudgens/e6f641ae9b273ff47daf1a67db3c2156 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
def heading_generator(title, heading_type): | |
return f'<h{heading_type}>{title}</h{heading_type}>' | |
print(heading_generator('Greetings!', '1')) | |
print(heading_generator('I am in a title', '3')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment