Question: will rate the answer python Here are instructions for the first lab file assignment due this week. Create a text file using a program like

will rate the answer
python
will rate the answerpython Here are instructions for the first lab file

Here are instructions for the first lab file assignment due this week. Create a text file using a program like Windows Notepad or Notepad++. It will have 6 lines of code. In the list below is a description of what should appear on each line. The exercises in this week's ZyBook exercises will give you what you need to know to complete the assignment. Upload your one notepad text file no later than the due date. The file extension can be either txt or.py Line 1: write a line of code that uses the print function to print your name Line 2: assign a value of 18 to a variable named number Line 3: print a string that has "The number is " as the first part and a reference to the variable you created in line 2 (When it prints it will print the string followed by 18 , but using the variable instead of the literal 18) Line 4: print a string that combines two strings that are separated by a comma in the code but show as one continuous string when the print command runs Line 5: write a line of code that asks the user (the one who runs the program) to input their name Line 6: print the name that the user inputs in line 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!