Quick actions

cmd+k|ctrl+k

Navigation

Languages

Built-in functions

Snippet info

Language

Python

Visibility

public

Author

andromachi.vasileiou

Created

2026-01-15T13:40:57.255181Z

Updated

2026-01-15T13:54:12.840434Z

print(len("hellooooooooo")) #lenght of the string

greet = "hellooooooooo"

print(greet[:])

print(greet[0:len(greet)])

print(greet[0:13])

quote = "to be or not to be"

print(quote.upper())

print(quote.capitalize())

print(quote.lower())

print(quote.find("be")) #it finds the occurrrence of the word

print(quote.replace("be", "me"))

print(quote)

quote2 = quote.replace("be", "me")

print(quote2)
INFO