diff --git a/examples/1-basic-concepts/understanding-data-part-1/python.bpmn b/examples/1-basic-concepts/understanding-data-part-1/python.bpmn index 8d962ec0..a6bad0e4 100644 --- a/examples/1-basic-concepts/understanding-data-part-1/python.bpmn +++ b/examples/1-basic-concepts/understanding-data-part-1/python.bpmn @@ -8,12 +8,24 @@ Flow_0bngcu2 -# Variables -age = 54 # This is an integer +# Creating Variables +age = 51 # This is an integer height = 1.93 # This is a float or "floating point number" children = ['Robert', 'Edward', 'Tad', 'Willie'] # This is a list is_married = True # This is a boolean +# Updating Variables +Age = 50 # Variables are case sensitive, this is a new variable. +age = 54 # This updates the age variable. + +# Referencing variables +my_age = age # my_age is now set to 54 + +# Deleting variables +del(Age) # The age variable no longer exists. You will get an error if you try to use it. + + + # This is a dictionary, and you will use a lot of them... cabinet = { "Secretary of State": "William H. Seward",