Question: Data Structures: String is one of the common data types in Python. Let's define a variable course as a string that has a value Data
Data Structures:
String is one of the common data types in Python. Let's define a variable course as a string that has a value "Data Structure". Write a python program to answer the following questions: a. What is the data type of variable course? (0.5 Mark) b. What is the length of variable course? (0.5 Mark) c. Print course in two lines. (0.5 Mark) d. Print only part of course string "Structure".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
