Is there a way to convert true of type unicode to 1 and false of type unicode to 0 (in Python)?
true
unicode
false
For example: x
x
+(False) converts to 0 and +(True) converts to 1
+(False)
+(True)