py-myopl-code icon indicating copy to clipboard operation
py-myopl-code copied to clipboard

comparing inputs(not int inputs) returns AttributeError: 'tuple' object has no attribute 'as_string'

Open Gfdcvn opened this issue 1 year ago • 0 comments

When I run in my lang variable cart = []

variable item = usrinput()

while item != 1 then variable cart = cart + item variable item = intinput() show(cart) finish

It outputs

AttributeError: 'tuple' object has no attribute 'as_string'

What do I do?

Gfdcvn avatar Feb 04 '25 15:02 Gfdcvn