I am just trying out some basic functionality in Python, and this is the entire script that I wrote:
a = [5, 3, 6, 9, 7, 8] x = input() print(x in a)
In Python 3.x, the function input() returns a string. Since the list a contains integers, you have to convert the input to int:
input()
a
int
x = int(input())