Skip to content

Instantly share code, notes, and snippets.

@brycemara
Last active July 15, 2020 23:52
Show Gist options
  • Save brycemara/25c5560b2825930bef79fb776f7fe9d4 to your computer and use it in GitHub Desktop.
Save brycemara/25c5560b2825930bef79fb776f7fe9d4 to your computer and use it in GitHub Desktop.

Begginers Guide to Data Types

by Bryce Mara Jarrett

  1. First data type: String
  • any kind of text with quotes around it
  • example: .quote.hello my name is bryce.quote.
  1. Second data type: Integer
  • any positive whole number
  • example: 1, 2, 4
  1. Third data type: Float
  • any negative or non-whole number
  • example: 1.3, -5, 0.22
  1. Fourth data type: Boolean
  • true or false data
  • example:
I'm hungry = true
  1. Fith and final data type: Array
  • group of data or collection of data in brackets separated by commas
  • example: list of numbers .bracket.open.1, 3, 4, 5.bracket.close. or list of names .bracket.open.bryce, piper, caden.bracket.close.

Now you know all about data types! alt text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment