I'm doing one of my first assignments and I can't find out how to put parentheses around a variable when I go to print it.
I've tried (xs) {xs} [xs} But none get parentheses around it
(print)("Hello user! Welcome to the program!")
name = input("What is your name?")
(print)("Hello", name)
x = input("What is your favorite number?")
y = int(x) // 2
xs = str(x)
ys = str(y)
z = ("Did you know that half of your favorite number" + ' ' + xs + ' ' + 'is' + ' ' + ys + '?')
print(z)
For the 2nd to last line of code I want it to say Did you know that half of your number (5) is 2?