9. Find the errors in the following code fragment

y = x + 5
print(x, y)

# x is not defined
print(x = y = 5)

# variables are being assigned at the same time as being printed, this is invalid
a = input( "value")
b = a/2
print (a, b)

# a is a string type because all inputs are taken as string in python and hence a can't be divided