variable naming rules python code example Example 1: python variable Python variable Example 2: python variable string = 'string' integer = 5 boolean = True