Built-in Functions and Methods

Run Settings
LanguagePython
Language Version
Run Command
# Built-in functions and methods # functions like len,abs are called built-in functions. # whereas a method has a dot '.' in front of it with braces to accept parameters if required. greet = "Helllooo" print(len(greet)) quoto = 'time and tide waits for none.' print(quoto.upper()) print(quoto.lower()) print(quoto.capitalize()) print(quoto.find('and')) # It gives us starting index. print(quoto.replace('and','or')) # If i rerun the quote i will not see the changes that i did that is because # strings are immutable we either create them or destroy them, but we cannot change them # if we want to permenantly change them, then we need to reassign the value to the current string print() print(quoto)
Editor Settings
Theme
Key bindings
Full width
Lines