isLouisHsu / isLouisHsu/isLouisHsu.github.io

Python字符串格式化 | LOUIS' BLOG

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

aa2922400485a9209dcb7ea17994e12a Gitalk
Dominant language
HTML
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://louishsu.xyz/2019/02/19/Python%E5%AD%97%E7%AC%A6%E4%B8%B2%E6%A0%BC%E5%BC%8F%E5%8C%96/

前言Python操作字符串行云流水,当然也支持格式化字符串。 通过格式符1print("我叫%s, 今年%d岁" % ('Louis Hsu', 18)) 或者使用字典进行值传递1print("我叫%(name), 今年%(age)岁" % {'name': 'Louis Hsu', &a

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue links to a Chinese article about Python string formatting and includes part of its content. Start by reviewing the linked article and the repository's blog-content conventions. The requested change and completion criteria are not stated, so clarify whether this should add, revise, or publish documentation before starting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.