python return multiple values use only one code example
Example 1: python return multiple values
def x():
return 1, 2, 3, 4
a, b, c, d = x()
print(a, b, c, d) # 1 2 3 4
Example 2: python ignore return value
def f():
return 1, 2, 3
_, _, x = f()