python&tensorflow&pytorch

string comparison

tomato13 2011. 1. 18. 18:06

def test7():

l_str1 = 'aaaaaaaa'

l_str2 = 'aaaaaaaa'

if l_str1==l_str2:

print 'same'


=>


same