-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Data Types
Christoph Heine edited this page Mar 24, 2018
·
11 revisions
Type | Example | Explanation |
---|---|---|
Integer | positive_number : int = 1 |
Positive, negative or infinite integer numbers |
Float | positive_float : float = 2.05 |
Positive, negative or infinite floating point numbers |
Text | string : text = "Hello, World!" |
Strings and characters |
File | sample_file : file = "./folder1/sample.png" |
File paths |
Boolean | decision : bool = true |
Boolean values (true or false) |
Type | Example | Explanation |
---|---|---|
Set | set_name : set(type) = {value1, value2, ..} |
Stores a set of values with a specific type |
Ordered Set | oset_name : orderedset(type) = o{value1, value2, ..} |
Stores a set of values with a specific type and stores the order they were inserted |
Dict | dict_name : dict(keyType, valueType) = {Key1: value1, Key2: value2, ..} |
Stores key-value pairs with a specific type of key and a specific type of values |