파이선 프로그램은 module들로 이루어져 있으며, module 안에는 statement들이 있고, statement는 expression을 포함하고 있다.

 

파이선 statements 의 종류

1. assignment

2. calls

3. print calls

4. if/elif/else

5. for

6. while

7. pass

8. break

9. continue

10. def

11. return

12. yield

13. global

14. nonlocal

15. import

16. from

17. class

18. try/except/finally

19. raise

20. assert

21. with as

22. del

 

'Python' 카테고리의 다른 글

( ) = ( ) if ( ) else ( ) 구문  (0) 2019.12.27
변수명  (0) 2019.12.27
binary data pack unpack examples  (0) 2019.12.27
struct : binary data packing & unpacking options  (0) 2019.12.27
list comprehension과 for loop 벤치  (0) 2019.12.27

+ Recent posts