0
i got an error (this is python btw)
i got this error: Traceback (most recent call last): File "file0.py", line 3, in <module> print ("Did you know " + (6- + time)) TypeError: bad operand type for unary +: 'str'
3 Answers
+ 2
You need to convert the number to a string if you want to join strings.
+ 1
str + number is error in python
use str+ str(number)
+ 1
thx