Posts by Carlos Gimenes • 3 points
1 post
-
0
votes1
answer260
viewsQ: False return when comparing two python identical strings
I’m trying to compare two strings, one comes from the database as an array, the other is written by hand: string = str(profile[1]) #Carlos Gimenes print(string == str('Carlos Gimenes')) #Retorna…