Python program to compare strings


Topic: Python program to compare strings

Solution

def compare_using_equals(n):
    a = 'a long string that is not intered' * 200
    b = 'a long string that is not intered' * 200
    for i in range(n):
        if a == b:
            pass



List all Python Programs