Embed presentation
Downloaded 10 times



















![Input and Output>>> input([prompt])Function to acceptvalue from usersvia cliValue to beentered by user>>> print([output])Function to outputvalue to usersValue printed onthe user screen](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fgetstartedpythonprogramming-part1-200426162515%2f75%2fGet-started-python-programming-part-1-20-2048.jpg&f=jpg&w=240)












![for# print 0-9 numbers using for loopfor number in range(10):print(number)Run# print all the elements in fruits listfruits = ['apple','banana','orange']for fruit in fruits:print(fruit)Run](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fgetstartedpythonprogramming-part1-200426162515%2f75%2fGet-started-python-programming-part-1-33-2048.jpg&f=jpg&w=240)
![for - nestedcountries = ['India','US','China','Europe']fruits = ['apple','banana','orange']for country in countries:for fruit in fruits:print(country,':', fruit)print('-----------------')Run](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fgetstartedpythonprogramming-part1-200426162515%2f75%2fGet-started-python-programming-part-1-34-2048.jpg&f=jpg&w=240)



This document provides an overview of Python programming concepts including the basics of Python, strings, control structures like if/else statements and loops, and input/output functions. It discusses what a program and programming are, gives an introduction to Python including its uses and installation. It then covers key Python concepts like variables, data types, operators, functions, modules and object-oriented programming.



















![Input and Output>>> input([prompt])Function to acceptvalue from usersvia cliValue to beentered by user>>> print([output])Function to outputvalue to usersValue printed onthe user screen](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fgetstartedpythonprogramming-part1-200426162515%2f75%2fGet-started-python-programming-part-1-20-2048.jpg&f=jpg&w=240)












![for# print 0-9 numbers using for loopfor number in range(10):print(number)Run# print all the elements in fruits listfruits = ['apple','banana','orange']for fruit in fruits:print(fruit)Run](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fgetstartedpythonprogramming-part1-200426162515%2f75%2fGet-started-python-programming-part-1-33-2048.jpg&f=jpg&w=240)
![for - nestedcountries = ['India','US','China','Europe']fruits = ['apple','banana','orange']for country in countries:for fruit in fruits:print(country,':', fruit)print('-----------------')Run](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fgetstartedpythonprogramming-part1-200426162515%2f75%2fGet-started-python-programming-part-1-34-2048.jpg&f=jpg&w=240)

