str
int
float
값을 정수로 변환합니다.
int(x?, base?)
아래 값을 입력하면 예제에 즉시 반영됩니다.
print
print(int("42")) # 42 print(int(3.99)) # 3 print(int("FF", 16)) # 255