Learning Path ⋅ Skills: Python, Fundamentals, I/O, String Formatting
Master Python’s input, output, and string formatting with our comprehensive path. Learn keyboard input, integer handling, and advanced print techniques. Dive into modern string formatting with f-strings and the format mini-language. Perfect for enhancing your Python coding skills!
Learning Path ⋅ 9 Resources
#1
Course
Reading Input and Writing Output in PythonIn this introductory Python course, you'll learn how to take user input from the keyboard with the built-in function input() and how to display output to the console with the built-in function print().
#2
Tutorial
How to Read User Input From the Keyboard in PythonReading user input from the keyboard is a valuable skill for a Python programmer, and you can create interactive and advanced programs that run on the terminal. In this tutorial, you'll learn how to create robust user input programs, integrating error handling and multiple entries.
#3
Tutorial
How to Read Python Input as IntegersLearn how to use Python to get integer input from the user while handling any errors resulting from non-numeric input. This will involve coding your own reusable function built around input().
#4
Tutorial
How to Strip Characters From a Python StringUse Python's .strip() method to remove unwanted whitespace or specific characters. Learn about common pitfalls, real-world use cases, and compare .strip() with similar methods like .lstrip() and .removesuffix().
#5
Course
The Python print() Function: Go Beyond the BasicsLearn about the print() function in Python and discover some of its lesser-known features. Avoid common mistakes, take your "hello world" to the next level, and know when to use a better alternative.
#6
Course
Formatting Python StringsSee two items to add to your Python string formatting toolkit. You'll learn about Python's string format method and the formatted string literal, or f-string. You'll learn about these formatting techniques in detail and add them to your Python string formatting toolkit.
#7
Course
Python 3's F-Strings: An Improved String Formatting SyntaxAs of Python 3.6, f-strings are a great new way to format strings. Not only are they more readable, more concise, and less prone to error than other ways of formatting, but they are also faster! By the end of this course, you'll know how and why to start using f-strings today.
#8
#9
Tutorial
Python's Format Mini-Language for Tidy StringsLearn about Python's format mini-language. You'll learn how to use the mini-language to create working format specifiers and build nicely formatted strings and messages in your code.
Got feedback on this learning path?
Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4