Revision 734261b3ee2ff9a172b90739f1cf7e2ae9823c25 authored by rinkk on 11 February 2021, 14:52:44 UTC, committed by rinkk on 15 February 2021, 10:13:16 UTC
1 parent 8cacbd1
Raw File
print23.py
#!/usr/bin/env python3

# Print statement that behaves the same for python 2 and 3.
# E,g, print_(1.0, 2, "5") will always print the string "1.0 2 5".
def print_(*args):
    print(" ".join(str(a) for a in args))
back to top