disclaimer: THIS IS NOT MY SUBMISSION THAT IS HERE
ok so this is my other way that's like 7 lines longer but still cool
EDIT: this is now my submission!
num1,num2=input("Enter first number: "),input("Enter second number: ")
if num1 in num2 and num2 in num1:print("They are equivalent")
else:print("They are not equivalent")