I'm trying to get specifications three necessary inputs and a fourth optional one from one input in Python.
a, b, c, d = input("Please enter the number of the figure you would like and the x y coordinated in that order and a colour if you choose.").split()
I want d to be optional with a set default value but I'm really struggling with it.