Skip to content

Horus770/python-string-formatting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Python String Formatting Guide

This repository demonstrates the different ways to format strings in Python, which is a fundamental skill for any developer.

πŸ’‘ What's Inside?

I have covered three main methods of formatting:

  1. Old Way (%): Using %s for strings and %d for numbers.
  2. New Way (.format()): Using curly braces {} and the .format() method.
  3. F-Strings: The modern and most efficient way using f"...".

Learning journey continues with Elzero Web School path. πŸš€

About

"A practical guide to Python string formatting, covering Old Way (%s), New Way (.format), and F-Strings with clear examples."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages