Skip to content

Python Journey

My Coding Blog

Menu
  • Links
Menu

Tag: replace

Python>>String Methods

Posted on August 29, 2022August 29, 2022 by coden00b

Here are some common String Methods or Attributes that you can use in modifying strings. Assuming x is the string: a. x.upper()  – converts to upper case > x = ‘Free Linux Tutorials’ >>> x.upper() ‘FREE LINUX TUTORIALS’ >>> print(x) Free Linux Tutorials >>> y = x.upper() >>> print (y) FREE LINUX TUTORIALS   b….

Read more

Recent Posts

  • Python Project1: Guess Number
  • The Zen of Python
  • Python>>String Interpolation and Formatting
  • Python>>String Methods
  • Python>>String Concatenation

Archives

  • December 2024
  • January 2023
  • August 2022

Tags

.format attributes concatenation count data type find float fstring guess indexing interpolation len lower methods number project python random replace slicing string strings template time upper zen
© 2025 Python Journey | Powered by Minimalist Blog WordPress Theme
Menu
  • Links