Bỏ qua nội dung

Night 13: Your pet answers

← 30 đêm lập trình · Ngôn ngữ: Python Mã giả
English

Tonight: your pet answers

  • Until now, your pet's tricks did something: they printed.
  • Tonight your pet answers. A function can give a value back.
  • You will learn one thing: return.

Words for tonight

Word Meaning
return give a value back to the place of the call
result the value a function gives back
True / False the two answers to a yes/no question

Tài liệu

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP