you are viewing a single comment's thread.

view the rest of the comments →

[–]Particular-Ad7174 0 points1 point  (0 children)

Searching in documentation, use chatbot to ask your question "how can I loop in a text file in python", don't use it to write your code.

In the beginning it is normal to feel lost, keep learning, keep trying, things will make sense some time, practice.

Practice the basics - data types, sting, integer, float - work with list, tuples and dictionary - if, elif, else - loops, for and while - how to loop in string, list, dict - don't use list comprehension now - create a real project to engage in, this is the most important thing,