I have the following python code:
playerlocation =(input("Player location?"))
playerlocation = list(playerlocation.split(","))
for x in playerlocation:
x = int(x)
coordsareintegers = True
coordsareintegers = False
When I print X, it should logically be printed as int but instead they are printed as string. Am I going wrong somewhere?