Upload
arijit-shaw
View
213
Download
1
Embed Size (px)
DESCRIPTION
Basic Course in Python Lecture Slides
Citation preview
BeginningandsimulationinPythonJune17,2015Python June17,2015 1/10Outline1BasicSyntaxEquivalents2SimulationPython June17,2015 2/10ifif(condition):bodyelse:bodyPython June17,2015 3/10forforiinrange(0,n):bodyPython June17,2015 4/10whilewhile(i < n):bodyincrementingiPython June17,2015 5/10Functiondeffunction():bodyreturn()Python June17,2015 6/10classclassabc(object):bodyPython June17,2015 7/10instanceofaclassobj=abc()Python June17,2015 8/10Outline1BasicSyntaxEquivalents2SimulationPython June17,2015 9/10SimulationacomputerprogramthatcreatesavirtualenvironmentinordertostudyphysicalproblemsPython June17,2015 10/10