Data Types and Variables

In programming, every variable keeps a certain value of some type. For example, data types can be: number, letter, text (string), data, colour, picture, list and others. Here are some examples for data types:

  • type integer: 1, 2, 3, 4, 5, …
  • type float: 0.5, 3.14, -1.5, …
  • type character (symbol): 'a', 'b', 'c', …
  • type text (string): "Hello", "Hi", "Beer", …
  • type day of week: Monday, Tuesday, …

results matching ""

    No results matching ""