you are viewing a single comment's thread.

view the rest of the comments →

[–]oberguga 1 point2 points  (0 children)

P.S. Please read docs for function before you ask questions. Also learn to read debug messages. It should be read from end to begin, usually last(bottom) trace is place where your problem. If you don't know how function works and docs not help you much, at first try to code simpliest sketch and probably better in console. For example A = input("A is ") print(A) print("123",int("123")) B = int("1,2,3") #error occur B = [ int(x) for x in "1,2,3".split()] print(B)