Код: Выделить всё
if symbol not in 'ABCDEFGHIJ' or not x.isdigit() or not y.isdigit():
print("Error: invalid input for emitter")
return None
Подробнее здесь: https://stackoverflow.com/questions/784 ... erm-not-in
Код: Выделить всё
if symbol not in 'ABCDEFGHIJ' or not x.isdigit() or not y.isdigit():
print("Error: invalid input for emitter")
return None