/Week-6-Lab

Repository for Week 6 Lab

Primary LanguageJupyter NotebookMIT LicenseMIT

CMPINF 0010 Lab

Repository for labs for CMPINF 0010 at the University of Pittsburgh

Features

This program take a input of your name and birthday and output a welcome note and your age

Installation

  1. download Week-6-Notebook.ipynb
  2. run the program

Example code

name = input("What is your name?: ")
age = input("What year were you born?: ")

age = 2020 - int(age)

print("Hello ", name, ", you are ", age, " years old.", sep="")

Input

Paul
2000

Output

Hello Paul, you are 20 years old.

Getting help

If you need any help with this program or find any bug, fell free to email me GUW18@pitt.edu

License

This program is using MIT License. Full document is under the MIT License.

Code of Conduct

Please follow the rules in code of conduct and help us to build a healthy community. Full document is under the CODE-OF-CONDUCT.

Description of the program

The program will take a name and the year of that person born. Calculate the the age of that person. Then print the name and age of that person

Group members

  • Jackson Frank
  • Guangrui Wang
  • Alexander Chlpka

Why we choose this license and COC

MIT license, since it's one of the most wide used license in GitHub. The MIT license gives people enough right to change the program and also protects the original programmer's right. We chose to use the Contributer Covenant for our code of conduct because it is comprehensive, widely used, and it aligns with our values.