0
0

More than 1 year has passed since last update.

Python_input関数

Last updated at Posted at 2021-11-16

input:ユーザーが入力した値を文字列で取得する

age = input("何歳ですか")

何歳ですか 17

print(age)
print(type(age))

17
class 'str'

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0