How to make a loop keep repeating until a certain input is added
password = str(input(“Input password”))
while password != “secret”:
password = input(“Input password”)
print(“Access granted”)
How to make a string uppercase
text = “hello”
print(text.upper())
How to make a string lowercase
text = “hello”
print(text.lower())
How to reverse a string
text = “hello”
reversed_text = text[::-1]
print(reversed_text)
What is erroneous data now called
Invalid boundary