Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Latest commit

 

History

History

hello

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hello Instructions

tl;dr

Implement a program that prints out a simple greeting to the user, per the below.

$ python hello.py
What is your name?
David
hello, David

Specification

  • Write, in a file called hello.py in ~/workspace/pset6/hello, a program that prompts a user for their name and then prints hello, so-and-so, where so-and-so is their provided name, exactly as you did in Problem Set 1, except that your program this time should be written (a) in Python and (b) in CS50 IDE.

Usage

Your program should behave per the examples below. Assume that the underlined text is what some user has typed.

$ python hello.py
What is your name?
Veronica
hello, Veronica

Full instructions available here