Nadia Brandt’s Studio
Studio-led cohorts
Turn your workshop into a paid, structured course
Curriculum Design template Certificates Information
Pricing Sales pages Embed Coupons Upsell funnels
Comments Students Reports
NB Nadia Brandt
You’re on the free plan of Waypost. Upgrade from $34 per month
Viewer
Resource
NB

Code example block

Code examples display code in your lessons with the appropriate syntax highlighting for the language you choose. This code cannot be executed.

1# Example of a helper that merges two option maps
2def merge_options(base, override):
3 """
4 Combine two option maps; override wins on conflicts.
5 :param base: Defaults defined by the lesson template
6 :param override: Values supplied by the author
7 :return: A new map holding the resolved options
8 """
9 return {**base, **override}
10
11# Calling the helper
12resolved = merge_options({"theme": "sepia"}, {"theme": "slate"})
13print("Resolved options:", resolved)