まずは肩慣らし
print(‘Hello world!’)
print(‘What is your name?’) # ask for their name
myName = input()
print(‘It is good to meet you, ‘ + myName)
print(‘The length of your name is:’)
print(len(myName))
print(‘What is your age?’) # ask for their age
myAge = input()
print(‘You will be ‘ + str(int(myAge) + 1) + ‘ in a year.’)
python環境は設定をする。
python.exeに対してパスを通すか、python.exeのフォルダに移動しておく。
pythonでは余計なインデントは入れない。これ重要。