assistance-engine/docs/developer.avapframework.com/chapter4_2.md

776 B

Data Types

In AVAP™, just like in Python, data types are categories that represent different kinds of values that can be stored and manipulated in a program. Some of the most common data types in AVAP™ include:

  • Integers (int): Represent whole numbers, positive or negative, without a fractional part.
  • Floating-point numbers (float): Represent numbers with both integer and fractional parts.
  • Strings (str): Represent sequences of Unicode characters.
  • Booleans (bool): Represent truth values, either True or False.
  • Lists (list): Ordered and mutable collections of elements.
  • Tuples (tuple): Ordered and immutable collections of elements.
  • Dictionaries (dict): Unordered collections of key-value pairs.
  • Sets (set): Unordered collections of unique elements.