---
title: "Discussion on \"Mastering Python : Day 7\" | Hashnode"
description: "Discussion on \"Mastering Python : Day 7\". Here are examples of each of the string methods in Python:\n1. capitalize()\nConverts the first character to upper case\ns = \"hello world\"\nprint(s.capitalize())  # Output: \"Hello world\"\n\n2. casefold()\nConverts string into lower case\ns = \"HELLO WORLD\"\npr..."
url: "https://hashnode.com/posts/mastering-python-day-7/66d691717f478261a31684c3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mastering Python : Day 7](https://yogesheon.hashnode.dev/mastering-python-day-7?utm_source=hashnode&utm_medium=feed)

Here are examples of each of the string methods in Python: 1. capitalize() Converts the first character to upper case s = "hello world" print(s.capitalize()) # Output: "Hello world" 2. casefold() Converts string into lower case s = "HELLO WORLD" pr...

Sep 3, 2024 · 5 min read · yogesheon.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#ai](https://hashnode.com/tag/ai)
-   [#ml](https://hashnode.com/tag/ml)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Yogesh Rajput](https://hashnode.com/@yohini)

@yohini

  
[View profile](https://hashnode.com/@yohini)

Beat The Best!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
