Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-hedengren authored Jul 18, 2019
1 parent ef0fbfa commit 4b4e5b9
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions Basic Python Knowledge.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,49 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"SHORTCUTS\n",
"## SHORTCUTS\n",
"Press h to see the list of all shortcuts in Jupyter\n",
"\n",
"MATH\n",
"+\tAddition: adds two operands\tx + y\n",
"-\tSubtraction: subtracts two operands\tx - y\n",
"*\tMultiplication: multiplies two operands\tx * y\n",
"## MATH\n",
"\n",
"\\+\tAddition: adds two operands\tx + y\n",
"\n",
"\\-\tSubtraction: subtracts two operands\tx - y\n",
"\n",
"\\*\tMultiplication: multiplies two operands\tx * y\n",
"\n",
"/\tDivision (float): divides the first operand by the second\tx / y\n",
"\n",
"//\tDivision (floor): divides the first operand by the second\tx // y\n",
"\n",
"%\tModulus: returns the remainder when first operand is divided by the second\tx % y\n",
"\n",
"COMPARE\n",
">\tGreater than: True if left operand is greater than the right\tx > y\n",
"## COMPARE\n",
"\n",
"\\>\tGreater than: True if left operand is greater than the right\tx > y\n",
"\n",
"<\tLess than: True if left operand is less than the right\tx < y\n",
"\n",
"==\tEqual to: True if both operands are equal\tx == y\n",
"\n",
"!=\tNot equal to - True if operands are not equal\tx != y\n",
">=\tGreater than or equal to: True if left operand is greater than or equal to the right\tx >= y\n",
"\n",
"\\>=\tGreater than or equal to: True if left operand is greater than or equal to the right\tx >= y\n",
"\n",
"<=\tLess than or equal to: True if left operand is less than or equal to the right\tx <= y\n",
"\n",
"LOGICAL \n",
"## LOGICAL \n",
"\n",
"and\tLogical AND: True if both the operands are true\tx and y\n",
"\n",
"or\tLogical OR: True if either of the operands is true\tx or y\n",
"\n",
"not\tLogical NOT: True if operand is false\tnot x\n",
"\n",
"FOR MATLAB PLOTTING\n",
"## FOR MATLAB PLOTTING\n",
"\n",
"**Colors**\n",
" \n",
" The following color abbreviations are supported:\n",
" \n",
" ============= ===============================\n",
" character color\n",
" ============= ===============================\n",
Expand Down Expand Up @@ -75,7 +89,7 @@
" ``'_'`` hline marker\n",
" ============= ===============================\n",
" \n",
" **Line Styles**\n",
"**Line Styles**\n",
" \n",
" ============= ===============================\n",
" character description\n",
Expand Down

0 comments on commit 4b4e5b9

Please sign in to comment.