Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 410 Bytes

example1.md

File metadata and controls

32 lines (25 loc) · 410 Bytes

This is Markdown file example1.md

Interactive Python session (doctest)

>>> print("Hello World!")
Hello World!

Source Code and terminal output

Code:

from enum import Enum

class Floats(Enum):
    APPLES = 1
    CIDER = 2
    CHERRIES = 3
    ADUCK = 4

for floater in Floats:
    print(floater)

sample output:

Floats.APPLES
Floats.CIDER
Floats.CHERRIES
Floats.ADUCK