Repository for labs for CMPINF 0010 at the University of Pittsburgh
This program take a input of your name and birthday and output a welcome note and your age
- download Week-6-Notebook.ipynb
- run the program
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="")
Paul
2000
Hello Paul, you are 20 years old.
If you need any help with this program or find any bug, fell free to email me GUW18@pitt.edu
This program is using MIT License. Full document is under the MIT License.
Please follow the rules in code of conduct and help us to build a healthy community. Full document is under the CODE-OF-CONDUCT.
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
- Jackson Frank
- Guangrui Wang
- Alexander Chlpka
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.