recordmastd 2022. 12. 27. 18:00

subscript

"string"[n]  (n은 0부터 시작)

ex. print("hello"[0]) >> h  ,  print("hello"[4]) >> o

string

문자열 " " 안에 있음

ex. "123"은 문자열임, " " 안에 있는 숫자는 모두 문자열로 취급

integer

정수

float

소수점 포함. 실수

boolean

True , False