Question: Create Python programs using the Python Module window and save them in one .py file (a) with the file name constructed from your last name

Create Python programs using the Python Module window and save them in one .py file

(a) with the file name constructed from your last name concatenated with the assignment name i.e. Assignment 2.1

(b) containing print statement to display the name of the assignment i.e. Assignment 2.1

(c) containing print statement to display the version of the Python

(d) containing print statement to display the name of the programmer (student)

(e) containing print statement to display the date when the assignment was uploaded

(f) for each problem within the assignment include print statement to display the problem number

(g) for each problem within the assignment include print statement to display the problem description

(h) for each problem within the assignment include print statement to display the initial values with the text Initial Value:

(i) for each problem within the assignment write a program and display the result with the text Result:

Make each program independent and do not reuse any values of variables from the previous programs!

1. Check if the first character of the first name Jim is the same as the first character of your name James (variables: firstName1, firstName2) (output variable: isItTrue)

2. Display the first character of the first name Jim with the last name Doe i.e. as J. Doe (variables: firstName, lastName) (output variable: name)

3. Check if the length of the first name Jim is the same as the length of your name James (variables: firstName1, firstName2) (output variable: isItTrue)

4. Create a list of Jims scores that are 99, 77, 19, 80, and 100. Jim took a next test and got 98. Update the list. (variables: scores, score1) (output variable: scores)

Create a list of Jims scores that are 99, 77, 19, 80, 100 and 98. Jim took a makeup for third quiz and got 90. Update the list. (variables: scores, score2) (output variable: scores)

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!