Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 579 Bytes

flowchart_example_1.md

File metadata and controls

30 lines (18 loc) · 579 Bytes

Flowchart Example 1 - Output a value

In this example a variable will be defined containing a string representing a color and then displayed in the terminal.

Flowchart Example 1

Notice:

  • A rectangle is used when defining the variable
  • A parallelogram is used when outputting to the terminal

Code:

# begin program

# set color to 'blue'
color = 'blue'

# print color to the terminal
print(color)

# end program