Created
July 18, 2020 20:45
-
-
Save raeq/074cfa5d3e82b1e6043e10d66873492f to your computer and use it in GitHub Desktop.
Concatenate values to a string
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 concatenate(*argv)->str: | |
return ''.join(argv) | |
assert concatenate("a", "b", "c") == "abc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment