User:Jarle Pahr/INF1100: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
Jarle Pahr (talk | contribs) (New page: Notes from INF1100 course at UiO: =Chapter 3= Keyword arguments: *If a function uses only keyword arguments, the argument input order is arbitrary.) |
Jarle Pahr (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Notes from INF1100 course at UiO: | Notes from INF1100 course at UiO: | ||
Line 10: | Line 9: | ||
*If a function uses only keyword arguments, the argument input order is arbitrary. | *If a function uses only keyword arguments, the argument input order is arbitrary. | ||
Conditional value assignment: | |||
*variable = (value1 if condition else value2) |
Revision as of 02:28, 2 September 2013
Notes from INF1100 course at UiO:
Chapter 3
Keyword arguments:
- If a function uses only keyword arguments, the argument input order is arbitrary.
Conditional value assignment:
- variable = (value1 if condition else value2)