How do I code a multiplication between a list and a variable? The result would be all the values of the list multiplied by the variable. Is it possible? Example:
a=int(input("a="))
b=int(input("b="))
x=a-b
l=[1,2,3,4,5]
y=x*l
print(y)
