Funktioner Flashcards

1
Q

Hur anropar man en funktion?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Does Python function always return a value?

A

True, yes.

If you do not include any return statement in function, it automatically returns None. So, in Python function always returns a value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can a function take an unlimited number of arguments? (true/false)

A

Yes, true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can a function return multiple values? (true/false)

A

Yes, true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly