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
Science,
2 months ago
Science,
2 months ago
Math,
5 months ago
Social Sciences,
10 months ago
Math,
10 months ago