def cmd_create(args):
    """Creates a list"""
    name = args.get(0)
    if name:
        penStore.createList(name)
    else:
        puts("not valid")
def cmd_create ( args ) : name = args . get ( 0 ) if name : penStore . createList ( name ) else : puts ( "not valid" )
Creates a list