Write python statements to do the following:
Q1 Declare and initialize a string to store the names of 6 students in a class
separated by space. Write program to do the following:
a. Display the total number of characters present in the string
b. Display the names beginning with 'a' or 'A'.
c. Display the names ending with 'k' or 'K',
d. Display the names ending with 'ing'.
e. Display the 6-letter of each name
Answers
Answered by
0
Write python statements to do the following:
Q1 Declare and initialize a string to store the names of 6 students in a class
separated by space. Write program to do the following:
a. Display the total number of characters present in the string
b. Display the names beginning with 'a' or 'A'.
c. Display the names ending with 'k' or 'K',
d. Display the names ending with 'ing'.
e. Display the 6-letter of each name 提个人
Similar questions
English,
3 months ago
English,
3 months ago
Math,
6 months ago
Social Sciences,
11 months ago
Math,
11 months ago