Python Python Basics (2015) Logic in Python Loop

loops

for loop

loop.py
hellos = [
    "Hello",
    "Tungjatjeta",
    "Grüßgott",
    "Вiтаю",
    "dobrý den",
    "hyvää päivää",
    "你好",
    "早上好"
]
Steven Parker
Steven Parker
163,760 Points

It doesn't look like you've written any code yet. At least give it a "good faith" try and then ask a specific question if you still have trouble.

Antonio De Rose
Antonio De Rose
20,230 Points

please go through the below example, get an idea, and then execute it.

https://www.learnpython.org/en/Loops

first example, is sufficient, in the above link, to answer your question.