Strings can be joined with +, but the readable way to build text from values is an f-string: put f before the opening quote and write expressions inside curly braces. f"{first} {last}" becomes the two values with a space between.
Strings have methods, functions attached to the value: .upper(), .lower(), .title(). They return a new string; the original is unchanged. len(text) gives the number of characters.
Characters are numbered from zero: "Ada"[0] is "A". Negative numbers count from the end, so [-1] is the last character.
word = "python"
print(f"{word} has {len(word)} letters")
print(word.upper(), word[0], word[-1])Your task
Using the first and last names in the starter, make full (the two names separated by a space), shout (the full name in upper case), and initials (the first character of each name joined together, so AL). Print full.
Hint 1
full = f"{first} {last}"
Hint 2
first[0] is the first character; join two characters with +.
Show the solution
first = "Ada"
last = "Lovelace"
full = f"{first} {last}"
shout = full.upper()
initials = first[0] + last[0]
print(full)