[Solved] How can I input multiple values in one line? [duplicate]
You can do like this: a, b, c, d, e = input(“Insert the 5 values: “).split() print(f”a: {a}\nb: {b}\nc: {c}\nd: {d}\ne: {e}”) Input: 1 2 3 4 5 Output: a: 1 b: 2 c: 3 d: 4 e: 5 1 solved How can I input multiple values in one line? [duplicate]