import time
from machine import Pin
time.sleep(0.1) # Wait for USB to become ready
BTN_PIN = 16
button = Pin(BTN_PIN, Pin.IN, Pin.PULL_UP)
#==== code below ===============
text = " The quick brown fox jumped over the lazy old dog. "
uppercase_text = text.upper()
print(uppercase_text)
text = " The quick brown fox jumped over the lazy old dog. "
stripped_text = text.strip()
print(stripped_text)
text = "The quick brown fox jumped over the lazy old dog."
count_e = text.count("e")
print(count_e)
text = "The quick brown fox jumped over the lazy old capybara. "
new_text = text.replace("dog", "capybara")
print(new_text)
text = "The quick brown fox jumped over the lazy old capybara"
upper_text = text.upper()
print(upper_text)
text = "The quick brown fox jumped over the lazy old capybara"