+ 1
Why its have no output
queue = ['John', 'Amy', 'Bob', 'Adam'] x = queue.append(input()) print(x)
2 Answers
+ 4
because the append method doesn't return anything so it will print None. Remove "x =" and print(queue) instead of x
0
Ok ty
queue = ['John', 'Amy', 'Bob', 'Adam'] x = queue.append(input()) print(x)