Lab 1 – Input / Output
Write a Python program that prints output, gets user input, and uses variables.
Lab Description
Print a quote using escape characters. Get user input for the date and print a message to the user with tomorrow’s date.
Steps
⦁ In PyCharm , open your existing ITP115 project. If you do not have a project, then create a new project in PyCharm. This project can be anywhere on your computer that is convenient to access such as in your Documents folder or on your Desktop.
⦁ Under the Labs directory, create a new Python file called lab1_last_first.py where last is your last/family name and first is your preferred first name. Use all lowercase letters. If you do not have a Labs directory, then create a new directory in PyCharm in your ITP115 project.
⦁ At the top of the file, put comments in the following format and replace the name, email, and section with your actual information:
⦁ # ITP 115, Fall 2022
⦁ # Section: number or nickname
⦁ # Lab 1
⦁ Call the print function and use escape characters to display the following quote:
“Do your little bit of good where you are; it’s those little bits of
good put together that overwhelm the world.” – Desmond Tutu
You may call the print function one or multiple times.
This content is protected and may not be shared, uploaded, or distributed.
Last Completed Projects
topic title | academic level | Writer | delivered |
---|