0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

関数呼び出し方

Posted at
function.py
#say_hello() 関数を定義する前に呼び出すとエラーになる
def say_hello():
    print('Hi!')

def add(a, b):
    return a+b

say_hello()
print(add(10,20))

出力結果

Hi!
30
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?