round
int
float
値を整数に変換します。
int(x)
下記の値を入力するとサンプルに即時反映されます。
print
print(int("42")) # 42 print(int(3.99)) # 3 print(int("FF", 16)) # 255