(a) Display the names of all the cities whose names start with 'A'
(b) Count the number of cities whose names do not start with 'A'
14 questions · timed · auto-graded
Write a script to create an empty list and then find the sum of all the elements present at even indices of the list.
Write a program that reads a string and check whether it is palindrome or not.
Find and write the output of the following Python code:
Assuming that input value is 23
1
40
7
100
13
160
19
220
92