Quick actions

cmd+k|ctrl+k

Navigation

Languages

Built-In Functions + Methods

Snippet info

Language

Python

Visibility

public

Author

jeroncicante94

Created

2024-11-19T16:20:43.411184Z

Updated

2024-11-19T21:11:25.242342Z

greet = "heelloooo"
print(greet[0:9])

# bulit-in methods

quote = "to be or not to be"

print(quote.upper())
print(quote.capitalize())
print(quote.lower())
print(quote.find("not"))
print(quote.replace("be", "not"))
print(quote)


quote = "to here or not to here"
quote2 = quote.replace("here", "me")

print(quote)
print(quote2)
INFO