Python Chapter 3/part 3

Description

nothing programming tech rocket (Python) Note on Python Chapter 3/part 3, created by yomum 21 on 26/07/2016.
yomum 21
Note by yomum 21, updated more than 1 year ago
yomum 21
Created by yomum 21 over 9 years ago
13
1

Resource summary

Page 1

Fuctions: A block of organised, reusable code that is used to perform a single realted action. remeber to import fuctions from python

e.g:def addition(a,b): total = a + b return total

another way of calling input e.gnum1 = int(input("Enter car 1"))

default fuctions: fuctions that are set by default. We use this because we don't want the user to enter anything sometimes or user forgets to enter prementer value.e.g.def CreateAnArcade(name, games, helipad = "NO", high_def = "YES"): print("name:",name) print("games:"games) print("helipad:"helipad) print("high def:",high def) return;return;= return the body of fuction

Show full summary Hide full summary

Similar

Common Technology Terms
Julio Aldine Branch-HCPL
Project Communications Management
farzanajeffri
Network Protocols
Shannon Anderson-Rush
Abstraction
Shannon Anderson-Rush
Computing
Kwame Oteng-Adusei
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Introduction to the Internet
Shannon Anderson-Rush
Construcción de software
CRHISTIAN SUAREZ
LAN and WAN
Nathan Roberts
Historical Development of Computer Languages
Shannon Anderson-Rush
Useful String Methods
Shannon Anderson-Rush