Q:

How do I convert string to list in Python?

How do I convert def stringParametre(x) x to a list so that if x is hello then it will become a list like ["H","E","l","l","O"] . Capitals don't matter .

A:

Note that you do not have to convert to a list if all you want to do is to iterate over the characters of the string:
for c in "hello":
     # do something with c

works

