Skip to content

Add Chapter - String in Python #101

@codewithdhruba01

Description

@codewithdhruba01

We need to add a new chapter to the Python tutorial titled "String in Python". This chapter should cover the basic and advanced concepts of string handling in Python with examples and explanations.


Expected Topics to Cover:

  • What is a String in Python
  • Creating Strings
  • String Indexing and Slicing
  • String Methods (upper(), lower(), strip(), replace(), etc.)
  • String Concatenation and Repetition
  • Using in and not in operators
  • String Formatting (f-string, format(), % operator)
  • Escape Sequences (\n, \t, etc.)
  • Multiline Strings
  • Use Cases and Examples

Suggested Format:

  • Use Docusaurus markdown syntax
  • Include code blocks and output examples
  • Organize content using headings and subheadings
  • End with a small quiz or practice task

Metadata

Metadata

Labels

area:dbPRs with DBarea:dev-envCI, pre-commit, pylint and other changes that do not change the behavior of the final code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions