Linear Probing in Python
Am I using "global" right?


It would be better to not use global at all,
by wrapping this in a class,
with state and list as attributes,
so an instance could reference them with self.state, for example.


  How did I do?


state is used as a boolean.
So it should be a boolean value,
set to False instead of 0 and True instead of 1 values.

list is not a good name for a variable,
as it shadows a built-in with the same name.

A quick tip: you can write ["x", "x", "x", "x", "x", "x", "x"] simpler as ["x"] * 7.
In any case, duplicating "x" in multiple places (first when you initialize list, and then later in linearProbing), is not great.
It would be better to put the value "x" in a variable, say FREESPOT = "x",
and reuse that everywhere.