Skip to content

Instantly share code, notes, and snippets.

@martin-martin
Last active June 10, 2018 10:33
Show Gist options
  • Save martin-martin/5f801c00edafc2c0e7adb833a3ee1328 to your computer and use it in GitHub Desktop.
Save martin-martin/5f801c00edafc2c0e7adb833a3ee1328 to your computer and use it in GitHub Desktop.
example using variables and integers for a simple calculation
# simple addition using variables and integers
pre_course_weeks = 2
onsite_weeks = 6
online_weeks = 4
course_duration = pre_course_weeks + onsite_weeks + online_weeks
print(course_duration)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment