Skip to main content

5.14) Exercise 11 - Input/Output


  1. Write a program that asks the user for their first name and surname, then prints out ‘Hello’ followed by their full name.
  2. Write a program that requests two numbers, then adds the two numbers together and prints the result.

Remember that the raw_input function returns a string. You must use the float() or int() functions to convert that input to floating numbers/integers before using them in arithmetic (e.g. addition).