PY
py
1
2
3
4
5
6
7
8
9
10
11
#This function is copying the behavior of the builtin print function. do you think it's really the same?
#Coded by I -_- D
def print_func(*args):
for elem in args:
print(elem, end=' ')
print(165, "just a string", (3.14, 1.41))
print_func(165, "just a string", (3.14, 1.41))
#do you have any more tests to see that this function really does the same as the builtin print?
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run