Python

Published on January 2017 | Categories: Documents | Downloads: 15 | Comments: 0 | Views: 60
of 1
Download PDF   Embed   Report

Comments

Content

Phyton
Ch1
print()
if 43>42:
indentation
pr+tab to see auto complete
alt+P/N
(list)
movies=["sdf","dasfdg"]
len(movies)
movies.append("sdfg")
movies.pop()
movies.extend(["fdg","dsfg"])
movies.remove("sdf")
movies.insert(0,"fdgghh")
for i in movies:
print(i)
if isinstance(movies,list)
Ch2
Functions
def print(arg):
code(Suite-indented func block)
"""Comments"""
#Comments
Creating a distrubition -refer book
import func
func.method()
; generally not used(mine exp)
try example on page 64,68 and before(urgent)

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close