Is there a way to get all combinations of a string list?
Input: x=list("T", "H", "E")
Output: THE, TEH, HTE, HET, ETH, EHT
this is what I got so far I'm pretty new to this:
print("Enter word")
x=input()
print("your word is " + x)
print(list(x))
it just need to be sorted now.