Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to get the index of a character from a string
Post: How to get the index of a character from a string

Hi, i used this code it is getting the index value but i need it to get the index value as the expected output s = 'Apples are totally awesome' l = [] for idx, item in enumerate(s.lower()): if 'a'...
chihaya General Coding Help 1 2,173 Dec-03-2019, 12:53 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020