Q. How do you access the first character of ‘Python’?
Solution:
text[0] accesses the first character ‘P’ using indexing.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
text[0] accesses the first character ‘P’ using indexing.
Strengthen Your Practice with our comprehensive question bank.