Created
June 18, 2021 15:11
-
-
Save Seanny123/c23aa94ceee622f56ad7facc6ecbab69 to your computer and use it in GitHub Desktop.
Fix for Pylint error
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 append_number(num, numbers=None): | |
if numbers is None: | |
numbers = [] | |
numbers.append(num) | |
return numbers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment