- Python was created by Guido Van Rossum as a successor to the ABC programming language. It is an interpreted, object-oriented programming language that is platform independent.
- The document discusses how to install Python on Windows and Linux, run Python in the terminal, and covers basic Python syntax like variables, data types, control structures, and input/output.
- Examples are provided to demonstrate calculating values, printing text, using lists, tuples, and dictionaries, as well as taking user input and saving it to a dictionary.
1 of 39
Downloaded 70 times
More Related Content
How to python
1. How To Python*Medhat dawoudSoftware Junior Developermedhatdawoud@gmail.comhttp://med7at.wordpress.com* Program with pythonOctober 12,20101
3. Pythons Father Guido Van Rossum is Netherlands, who write the python programming language as a successor to the ABC programming language, in his week ends , and call it python Relative to the a British television comedy sketch on the BBCCalled Monty Python's Flying CircusOctober 12,20103
5. Why Python ? Easy Syntax Easy Grammar Easy Data Structure Many PackagesVery ReadableVery FlexibleUsually Short CodeEasy to Manage CodeEasy to Work TogetherOctober 12,20105
31. Do It Yourself #1Your program should do the following 1. Calculate the 2242. Save the result to result 3. Print the resultOctober 12,201031
32. Do It Yourself #2Your program should do the following 1. Print out the even numbers between 1 to 1000, without line breaks 2. Print out the 1000 / n When n is between -100 to 100October 12,201032
33. Do It Yourself #3Your program should do the following 1. Let given=we are so friend! 2. Using slicing, concatenating, indexing, and methods, make following result - we are friend! - are WE so friend - so friend we areOctober 12,201033
34. Do It Yourself #4Your program should do the following 1. Let given=range(100) 2. Using the given, get the following - Even number between 0~99 - Odd number between 0~99 - Multiplier of 3 between 0~50, 70~99 - List starts from 99 and ends at 1October 12,201034
35. Do It Yourself #5Your program should do the following 1. Get the input Name and Age 2. Save the Name and Age to dictionary 3. If input is empty Change the input mode to search4. On search mode Print the age of given nameOctober 12,201035
36. SummaryNow you know How to Install and Run Python How to Use Python as Calculator Basic Python Syntax (indentation, quote, multiline text) Python Data Structure (string, number, list, dictionary, tuple) Basic Input, Output to the terminal(input, raw_input, print)October 12,201036
37. You have just learned of python!October 12,20103750%