User Tools

Site Tools


fcp:faq

Frequently Asked Questions

* Why do we learn Python?

* Isn't Python slow?

* Is Python interpreter?

* Why do we do the following code?

if __name__ == '__main__':

* Does Python have a pointer, like C?

* Do Python pass by reference or by value?

* Can Python do OOP?

* What is OOP? and what is it for?

* What is 'function' for?

* Why do I have to pass variables through function arguments, when I can use global variables?

* Why do we need 'for loop', when we can do 'while loop'?

* Why do we need a 'List'?

* What are the difference between list and dict?

* Why does Python pass a list reference when we assign 'y = x' where x is a list?

* Why do we have to 'import'?

* Why are '5' + '3' different from 5+3?

* What is a 'method'? and how is it different from a 'function'?

* What does this 'i += 1' mean?

fcp/faq.txt · Last modified: 2020/06/08 20:17 by tatpong

Page Tools