Just some basic string paradigms. Explanation in comments
name = "Robert"
age = 42
print("{} is {}".format(name, age)) # Output: Robert is 42
print("Name: {:*^22}".format("Ringo")) # Output: ********Ringo*********
(5).conjugate() # 5 needs to be in parantheses. Otherwise Python confuses the . with a float
filename = "hello.py"
# fyi: we use lower() to catch unformated user input
print(filename.lower().endswith(".java")) # returns False
print(filename.lower().endswith(".py")) # returns True
print(filename.lower().startswith("world")) # return False
print(filename.lower().startswith("hello")) # return True
print(filename.find("py")) # returns 6 - the index of "p"
print(filename.find("java")) # returns -1