Programming:Telling computer what to do.

Python的commet記號是 #

Spacing before the first character on a line is very important in Python

Backus-naur form

https://en.wikipedia.org/wiki/Fortran

https://en.wikipedia.org/wiki/ALGOL

發明簡單又精確的程式語言

Derivation

https://www.udacity.com/course/viewer#!/c-nd000/l-4180729266/m-48713481

https://www.udacity.com/course/viewer#!/c-nd000/l-4180729266/e-48311838/m-48693656

Python的計算規則

整數除完後,會自動去掉小數點的數字

下方instruction

https://www.udacity.com/course/viewer#!/c-nd000/l-4180729266/e-48439441/m-48700434

強制給小數的寫法

For example,5/2.0gives 2.5, and so does5.0/2

COBOL

https://zh.wikipedia.org/wiki/COBOL

Compiler does the work at once and runs a new program

Python

在print前不能有多餘的空格,可是在之後像數字前可以有空格

https://www.udacity.com/course/viewer#!/c-nd000/l-4178648783/e-3638209144/m-3653958610

https://www.udacity.com/course/viewer#!/c-nd000/l-4178648783/e-3621789053/m-3655838654


print 不用大寫

https://www.udacity.com/course/viewer#!/c-nd000/l-4178648783/e-3621489556/m-3617159128

results matching ""

    No results matching ""