0

Please I need help, I can't remember the function used to call up a single character from a string. For example, h from "hello"

15th Jan 2022, 4:17 AM
Wilfrid Okorie
2 Réponses
+ 5
Learn about slicing. You can also use index to read character like: sttt = 'hello' print(sttt[0])
15th Jan 2022, 4:21 AM
A͢J
A͢J - avatar
+ 1
Thank you
23rd Jan 2022, 4:45 AM
Wilfrid Okorie