Karteikarten
Syntax
Karten in diesem Stapel (12)
- 1# Comments ##Comments# : Always begin with a #. Comments are notes for humans to tell them what the code does computer doesn’t read them.
- 2= Variables == Variables = : are always set with an = after they are named. Variable is a named value that can be changed.
- 3“Strings”“Strings” are a very special form of variable that holds “Text”. They are always in “ ” (Speech marks) to tell the computer that this is “Text” and not a instruction the print().
- 4(Functions) (inputs)Function() : always have brackets() after their names. Functions are a named command() that may take inputs and/or return an output.
- 5Operators+ Plus
- Subtract
* Multiply
/ Divide
= Equals - 6IntegerWhole number (1)
- 7FloatDecimal Number (1.0)
- 8BooleanSomething that is either True or False
- 9Integer CamelCasenNumber
- 10Float CamelCasefNumber
- 11Boolean CamelCasebTrueFalse
- 12String CamelCasestrText
Informationen
- Beschreibung
- Karteikarten am Syntax, erstellt von I_Jessica_I am 23/09/2015.
- Erstellt von
- I_Jessica_I
- Aufrufe
- 10
- Tags
- Bewertung