Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Python: A comment on the top line of your program containing your name. A comment on the second line containing your section number. A

Using Python:
A comment on the top line of your program containing your name.
A comment on the second line containing your section number.
A comment on the third line containing the date.
A comment on the fourth line containing your email address.
A comment with the lab number and purpose of this lab.
Declare a variable called f_name and set this equal to your first name.
Declare a variable called l_name and set this equal to your last name.
Declare a variable called age and set this equal to your age.
Write a print statement to display the message: Hello World! to the user.
Write a print statement to display the message:
My name is f_name l_name. I am age years old.
where you use the variables f_name, l_name and age to display the values you stored in those variables.
Change the value of the age variable to 10(by writing a new line, not changing the original line where you declare the age variable) then,
Output a message to the user thanking them from using your program that includes your first and last name.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

Classify the Group 3A elements as nonmetals, metals, or metalloids.

Answered: 1 week ago