Exercise: Get first character from string
Here, we try to get the first character from a string using square brackets and an index number. But, there is a small mistake. Fix the code such that the first character is correctly printed to the console.
Premium
Python
Setting up Python environment...
Output