Dark theme

Hello You!


The following code gets a piece of text from the user and attaches it to a variable a:
a = input("your message here")
To join text and a variable together in a print, do:
print("my text", variable_name)

Run the input line on its own in a file to see how it works, and then write a program that matches the following specification:

Write a program that asks the user for their name, and when they input, for example "Dave", then prints "Hello Dave"


Hints and one answer