Verse Library verse

02 Fragment

Demonstrates basic conditional branching syntax for decision making in Verse scripts.

verse-library/getscoreaward/02-fragment.verse

if (condition1):
    # do something
elif (condition2):
    # do something else
else:
    # do the default thing

Comments

    Sign in to vote, comment, or suggest an edit. Sign in