Question: 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 fname and set this equal to your first name.
Declare a variable called lname 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 fname lname. I am age years old.
where you use the variables fname, lname and age to display the values you stored in those variables.
Change the value of the age variable to 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
