xxxxxxxxxx
val name = "Alice"
val age = 30
val message = s"My name is $name and I'm $age years old."
println(message) // Output: My name is Alice and I'm 30 years old.
xxxxxxxxxx
val pi = 3.14159
val formatted = f"The value of pi is approximately $pi%.2f."
println(formatted) // Output: The value of pi is approximately 3.14.
xxxxxxxxxx
val path = raw"C:\Users\username\Documents"
println(path) // Output: C:\Users\username\Documents