Python
Database
Operating System
Programming
Linux Command
Toolkit
Other
Keyboard Shortcuts
Open sidebar
Open user menu
Guess
Search
Dart
HTML Canvas
Redis
Bash
JavaScript
Python
Python Strings
Looping
>>> for char in "foo": ... print(char) f o o
Loop through the letters in the word "foo"
Comments
Add your comment
Post
Related
Miscellaneous
Python Classes & Inheritance
Python File Handling
Python Modules
Python Functions
Python Loops
Python Flow control
Python Lists
Python F-Strings (Since Python 3.6+)
Python Strings
Python Advanced Data Types
Python Built-in Data Types
Getting Started