Question: # Write your responses below # Your answer to # 1 below this line: items = ( ' apple ' , 'banana', 'cherry', 'date' )

# Write your responses below
# Your answer to # 1 below this line:
items =('apple', 'banana', 'cherry', 'date')
# Do not remove this line.
print("The list of items in the tuple are:
\t"+ str(items))
# Your answer to # 2 below this line:
numbers =(1,2,3,4,5)
# Do not remove this line.
print("The list of numbers from 1 to 5 are:
\t"+ str(numbers))
# Your answer to # 3 below this line:
name =("John Doe",)
# Do not remove this line.
print("The tuple that contains your name is:
\t"+ str(name))
# Your answer to # 4 below this line:
gpa =(3.8,)
# Do not remove this line.
print("The tuple that contains your CGPA is:
\t"+ str(gpa))
# Your answer to # 5 below this line:
name_gpa =("John Doe", 3.8)
# Do not remove this line.
print("The tuple that contains your name & CGPA is:
\t"+ str(name_gpa))

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!