📜  Python 代码示例中的 charAt

📅  最后修改于: 2022-03-11 14:46:46.704000             🧑  作者: Mango

代码示例1
givenString = "HELLO PYTHON"  
charVariable = givenString[1] #This is the syntax to access a character from the givenString
print(charVariable) #Prints the character