Quick actions

cmd+k|ctrl+k

Navigation

Languages

306 Built in Functions + Methods

Snippet info

Language

Python

Visibility

public

Author

cslxuser

Created

2025-03-31T17:40:54.816464Z

Updated

2025-03-31T17:54:55.543684Z

print(len('hellloooo')) #len starts with 1
greet = 'hellloooo'
print(greet[:len(greet)]) 
# Methods similar to functions but they own sth

####################
quote = 'to be or not to be'
print(quote.upper()+' /upper cases only')
print(quote.capitalize()+' /capitalize')
print(quote.lower()+" /lower")
print(str(quote.find('be'))+' /find')
print(quote.replace('be','me')+' /replace')
print(quote)
int()
print()
INFO