Skip to content

Instantly share code, notes, and snippets.

@tahmidefaz
Created January 25, 2020 06:58
Show Gist options
  • Select an option

  • Save tahmidefaz/f0ae2ec926c3e293f462b4d1a1c41a39 to your computer and use it in GitHub Desktop.

Select an option

Save tahmidefaz/f0ae2ec926c3e293f462b4d1a1c41a39 to your computer and use it in GitHub Desktop.
1 + 4 # 5
12 - 3 # 9
7 * 8 # 56
10/3 # 3.3333....
16 % 5 # 1 - modulus operator, the remainder of the division
16 // 5 # 3 - floor division operator
2**3 # 8 - exponentiation operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment