Python Program to Find Capital Letters in a string || Solving Python Challenges || Challenge 1
1 year ago
3
#python
#programming
#coding
#tech
#development
#challenge
#learning
#computation
#algorithms
CHALLENGE:
Write a function named capital_indexes. The function takes a single parameter, which is a string. Your function should return a list of all the indexes in the string that have capital letters.
For example, calling capital_indexes("HeLlO") should return the list [0, 2, 4].
Loading comments...
-
9:01
CodeYourCode
1 year agoPython Challenge No - 10
7 -
6:03
CodeYourCode
1 year agoPython Challenge No - 16
1 -
6:43
CodeYourCode
1 year agoPython Challenge No - 18
6 -
6:18
CodeYourCode
1 year agoPython Challenge No - 19
2 -
5:34
CodeYourCode
1 year agoPython Challenge No - 17
4 -
6:46
CodeYourCode
1 year agoPython Challenge No - 22
5 -
6:24
CodeYourCode
1 year agoPython Challenge No - 20
4 -
5:00
CodeYourCode
1 year agoPython Challenge No - 14
4 -
5:04
CodeYourCode
1 year agoPython Challenge No - 15
21 -
8:01
CodeYourCode
1 year agoPython Challenge No - 13
7