course_planning:computation:common_mistakes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
course_planning:computation:common_mistakes [2015/09/25 13:33] obsniukmcourse_planning:computation:common_mistakes [2015/09/25 13:37] obsniukm
Line 1: Line 1:
 +~~NOTOC~~
 +
 ====== Common easily overlooked mistakes ====== ====== Common easily overlooked mistakes ======
  
Line 5: Line 7:
 When multiplying two numbers, When multiplying two numbers,
 <code python> <code python>
-number3=(number1)(number2)+number3 = (number1)(number2)
 </code> </code>
 will throw an error.  Asterisks must be used: will throw an error.  Asterisks must be used:
 <code python> <code python>
-number3=number1*number2+number3 = number1*number2
 </code> </code>
  
Line 25: Line 27:
 ==== Indentation issues ==== ==== Indentation issues ====
  
-If an indentation error is given, select the entire indented region and **Format > Dedent Region** (⌘[) then re-indent **Format > Indent Region** (⌘]).+If an indentation error is given, select the entire indented region where the indentation error is probably located and  
 +  - **Format > Dedent Region** ( ⌘[ )  
 +  - **Format > Indent Region** ( ⌘] )
  • course_planning/computation/common_mistakes.txt
  • Last modified: 2015/09/25 13:40
  • by obsniukm