Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
## 入力は文字列として扱われる。
print(type(input())) # str
## 数値へと型変換。
print(type(int(input()))) # int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment