Say I have a list of characters ['h','e','l','l','o'] and I wanted to see if the list of characters match a string 'hello', how would I do this? The list needs to match the characters exactly. I thought about using something like:
hList = ['h','e','l','l','o']
hStr = "Hello"
running = False
if hList in hStr :
  running = True
  print("This matches!") 
but this does not work, how would I do something like this??
 
     
     
     
    