0

When trying to code i get a message saying '>=' is not rep. between instances of string and integer..how can i fix this

28th Oct 2020, 11:59 AM
Timi
Timi - avatar
3 Respuestas
+ 6
Either convert both to string or both to int using str(value) and int(value)
28th Oct 2020, 12:01 PM
Abhay
Abhay - avatar
+ 1
How can you compare banana with sunglasses? To compare something with another thing both must be same type right? string and integer are different type!
28th Oct 2020, 12:32 PM
Shadoff
Shadoff - avatar
+ 1
Abhay thanks
28th Oct 2020, 1:01 PM
Timi
Timi - avatar