TypeError: not all arguments converted during string formatting python
The program is supposed to take in two names, and if they are the same length it should check if they are the same word. If it's the same word it will print "The names are the same" . If they are the same length but with different letters it will print "The names are different but the same length" . The part I'm having a problem with is in the bottom 4 lines. #!/usr/bin/env python # Enter your code for "What's In (The Length Of) A Name?" here. name1 = input("Enter name 1: ") name2 = input("Enter name 2: ") len(name1) len(name2) if len(name1) == len(name2): if name1 == name2: print ("The names