Skip to content
Ranblog
  • Home
  • All Posts
  • Log in
  • Subscribe
  • Home
  • Crypto
  • HackerRank
  • Math
  • Setup Guide
  • VSCode
  • Python

format()

Python format(): Learn the Syntax Step by Step Paid Members Public

The Chinese version of this article: Python format() 语法详解 [https://ran-blog.com/2021/09/28/python-format-%e8%af%ad%e6%b3%95%e8%af%a6%e8%a7%a3/] Basic Usage print("Hello I am {} and he is {}!".format('Tom','Jerry')) # Output:Hello I am

Ran
Ran
14 Oct 2021
Python

Latest Posts

Elementary Number Theory Problems 4.3 Solution (David M. Burton's 7th Edition) - Q11

22 Dec 2024

Elementary Number Theory Problems 4.3 Solution (David M. Burton's 7th Edition) - Q10

16 May 2024

All Solutions for Insomnia Sufferers - 4

26 Apr 2024

Featured Posts

Best 4k Monitor for 2 Computers Setup (Mac & Win) and Gaming (2022 Dec)

8 Dec 2022

Theorems and Corollaries in Elementary Number Theory

16 Nov 2022

Python format(): Learn the Syntax Step by Step

14 Oct 2021

Ranblog

Programming, Algorithms, Math, and Online Course Review.

Navigation

  • Contact

Newsletter

Please check your inbox and click the link to confirm your subscription.
Please enter a valid email address!
An error occurred, please try again later.
© 2025 Ranblog - Published with Ghost & Krabi
↑