Build a Greeting
Python
10 pts
Build a Greeting
Using the variables first and last, create:
full_name— the first name, a space and the last name:"Abel Tesfay"greeting—"Hello, "+full_name+"!"
Use + for both. Then print greeting. Expected output:
Hello, Abel Tesfay!
Checklist
- Keep
firstandlastunchanged and createfull_namewith+, with a space in the middle. - Create
greetingwith+, usingfull_name. - Print
greeting.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
