Answers for "charAt in Python"

0

charAt in Python

givenString = "HELLO PYTHON"  
charVariable = givenString[1] #This is the syntax to access a character from the givenString
print(charVariable) #Prints the character
Posted by: Guest on May-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language