Skip to main content

Constant list

Returns a sequence of a single element of the desired length.

Syntax

constant_list(Integer, Element)

Description

Given an integer n and an element x, constructs a list with the element xx repeated nn times.

logic_and_sets.constant_list.calc.png