O GoConqr está de visual novo! Conte para nós o que você achou.

Notas

Python Chapter 3/part 3

yomum 21 programming tech rocket nothing Inglês 1 página

Python Chapter 3/part 3

Conteúdo das notas (1)

Página 1

Fuctions: A block of organised, reusable code that is used to perform a single realted action.

remeber to import fuctions from python

Python Chapter 3/part 3

Python Chapter 3/part 3

e.g:

def addition(a,b):

total = a + b

return total

another way of calling input e.g

num1 = 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

Python Chapter 3/part 3

Informações

Descrição
nothing programming tech rocket (Python) Notas sobre Python Chapter 3/part 3, criado por yomum 21 em 26-07-2016.
Criado por
yomum 21
Visualizações
19
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?