2018-09-17 関数と作ろう(引数あり) Python def func(a,b): #関数の引数にa,b c = a + b return c x = func(1,2) # 関数の呼び出してxに代入 print("x =", x ) x = 3