I'm trying to create a program where I compare two strings' characters. I'm trying to make it where the second string has to have the same characters as the first.
So if the first string is "Hello"
and the second is "Helloo"
it will turn out as false, but if the second string is "ello"
it will be true.
I have both strings in their own dictionary that counts the amount of each character. I'm trying to do this :
if Dictionary1 >= Dictionary2 :
print('True')
I don't know if I am thinking of this in an incorrect fashion, but I can't get this to work. I'm still relatively new to Python so if possible, please keep the explanations simple. Thanks !