spatel
0
Q:

python unsupported operand type(s) for & 'str' and 'str'

# Error:
TypeError: unsupported operand type(s) for /: 'str' and 'str'
    
# Solution:
# You're probably mixing strings and integers. Make sure to either 
# convert integers to strings with str(int) or strings to integers/floats
# with int(string) or float(string) depending on what you're doing.
2
# use and in stead of & in python
0

New to Communities?

Join the community