# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.


def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    word = "Hello world"
    print(word.find("o"))
    for letter in word:
        print(letter)

    li = [1, 2, 3, 4, 5]
    tu = tuple(li)
    li = list(tu)

    five_nones = [None]*5
    another_five_nones = [None for _ in range(5)]


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    print_hi('PyCharm')

# See PyCharm help at https://www.jetbrains.com/help/pycharm/
