Mar-08-2021, 03:44 PM
You are correct that the problem is with indentation. Everything in between if and else must be indented like this:
if d1 == d2: print('Same') else: print ('Different')