Strings are sequences of characters
A string is text: any collection of characters between quotes. A space counts as a character too.
greeting = "Hello"
print(greeting + " there") # joining strings is called concatenation
print(len(greeting)) # 5
Building sentences with f-strings
An f-string lets you drop values straight into a sentence: put an f before the quotes and wrap each value in braces.
name = "Ada"
age = 36
print(f"{name} is {age} years old")
f-strings are the readable, modern way to build text — reach for them instead of gluing pieces together with +.
Strings are not numbers
"5" + "5" gives "55", because Python joins two pieces of text. Convert with int("5") or float("5.5") when you need a number.