Sure you can:
name = "Charles" salary = 120000 print(f"{name} earns ${salary} a year.")
I guess you mean this:
x = "Hello world"
print(x)
The output would be:Hello worldand the answer to your question is yes, by using the `String` datatype, you can store a string value in a variable, and print it out as a text.