How does abecedarian learn Python? Stanford university leak 17 practical little skill are fast intro

How does abecedarian learn Python? Stanford university leak 17 practical little skill are fast introduction!

Before beginning today's topic, we discuss an issue first: It what language should process designing abecedarian learn is good that what language should process designing abecedarian learn?

The fellow student that can have very much new elementary course every year everyday puts forward this to look be like let a person simply give out hard again however the problem of exact answer. As the novice, even if oneself scratch broken head, without foundation also does not imagine give which kinds of language more get the better of one prepare; As a n experienced person, what perhaps can recommend is the programming language that he is using only, also may not fits other, but can serve as reference, I am emphasized here recommendPython .

How does abecedarian learn Python? Stanford university leak 17 practical little skill are fast introduction!

Python It is the mainstream language of machine study, not one of. This year in May, it surmounts JAVA on PYPL pop chart first, make the whole world the biggest programming language. And after a month, stack Overflow also shared newest programming language to browse quantity statistic number, the result shows, the month of Python surmounted Java and JavaScript historicly alive, ask a vessel head of a list of names posted up truly.

"Life suffering is short, I choose Python " . So, did you master Python really? I introduce the 17 study little skill of Python begin to learn for everybody below!

1, exchange is variable

Occasionally, when the value that we want to exchange two variable, a kind of groovy method is to found temporarily variable, have trade next with it. Exemple:

# input

A = 5

B = 10

# is founded temporarily variable

Temp = A

A = B

B = Temp

Print(a)

Print(b)

But in Python, actually we have one to plant more concise write a law:

How does abecedarian learn Python? Stanford university leak 17 practical little skill are fast introduction!

2, If statement is be expert at inside

Print "Hello" If True Else "World "

>>>Hello

3, join

Last kinds of means below appears when binding the object that decides two different types very cruel.

Nfc = ["Packers

未经允许不得转载:News » How does abecedarian learn Python? Stanford university leak 17 practical little skill are fast intro