User Tools

Site Tools


python:features

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
python:features [2016/07/13 22:10] – [Selection] mithatpython:features [2016/07/13 22:16] mithat
Line 1: Line 1:
 ====== Some Python features ====== ====== Some Python features ======
  
-===== Header, suite/block, clause ===== +===== Types ===== 
 +==== Boolean ==== 
 +<code python> 
 +True 
 +False 
 +</code>
  
 +===== Header, suite/block, clause =====
 <code python> <code python>
 if foo == bar:         # header             clause 1 if foo == bar:         # header             clause 1
Line 50: Line 55:
 else: else:
     print('something else')     print('something else')
 +</code>
 +
 +===== Iteration/repetition =====
 +<code python>
 +while condition:
 +    suite:
 </code> </code>
python/features.txt · Last modified: 2017/12/06 01:54 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki