Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #31.8K
~22.1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for HiHe

@vegaseat: Generally speaking, using mutable default arguments is considered a poor Python programming practice.

Member Avatar for martineau
1
21K
Member Avatar for Gribouillis

@leegeorg07, you could make it built-in for the rest of the execution of your script by making it a part of the `__builtins__` module by adding these lines at the end: import __builtin__ # use "builtins" in Python 3 __builtin__.Print = Print Although this practice is often frowned-up.

Member Avatar for Lucaci Andrew
1
786