My Name is Bond, James Bond

Challenge #1: Hello World!


Write a program that displays the message “Hello World!”

Change your program so that it asks for the end-user to type their firstname. (e.g. “John”)

The program should then display “Hello John!”

Challenge #2: My Name is Bond, James Bond!


Write a program that asks the end-user to enter their firstname and their lastame.

When the user enters their firstname (e.g.”James”) and their lastname (e.g. “Bond”) the program should then display the following output:

“Hello my name is Bond, James Bond”

Share Button
Posted in Computer Science, Python - Beginner, Python Challenges

Our Latest Book

Follow this blog