Program - function to intern a sentence.


Topic: Program - function to intern a sentence.

Solution

def check_intern(a , b):
    if a is b:
        print(f'{a} and {b} is interned by Python')
    else:
        print(f'{a} and {b} is not interned by Python')



List all Python Programs