Python3 Tutorial
In this tutorial we are explain python3 oops based programming language.
Python3 is the latest version of python. It is an interpreted and oops-based programming language. It is a high-level data structure and it is also a very effective approach to oops programming.
Python 3 is the updated version of the programming language. The efficiency and simplicity of the code that the developer is writing code.
Read Some python3 of Application:
- A broad standard library
- Interactive Mode
- Portable
- Extendable
- Databases
- GUI Programming
- Scalable
- Easy-to-learn
- Easy-to-read
- Easy-to-maintain
How old is python3?
Python three was free in a pair of 2008 and was a significant revision of the language that's not fully backward-compatible and far Python 2 code doesn't run unadapted on Python 3. Python 2 was out of print version 2.7.18 in 2020. Python systematically ranks collectively of the foremost well-liked programming languages.
What is Python used for?
Pythone3 is used to develop software, websites and developer are using it as a backend language. Present time data science is the most popular technology in the market so if you want to learn data science you have knowledge about pythone3 .it is used as a writing system script. Pythone3 is unlike HTML,CSS, javascript.
| Function name | Syntax/Example |
|---|---|
| Integer division | >>>X:3/2 |
| range function | range () |
| raise function | raise an exception (“SOFTWAREQUERY.COM”) |
| Arguments | except issue an error |
| Next function | next (abc) |
| Decision statement | var=18 If (var==18) : print (“Value is 18”) Print (“Ok”) |
| Strings | var = “Hello World” Print (“var[0]: ”, var [0]) #result would be ‘H’ |
| For loop | List= [1,2,3] For x in list: Print (x, end = “”) |
| While loop, | while true: Try: Print (“next value”) Except for stop value: Sys.exit() |
| Math functions | cmp(x,y) |
| List values | list=[‘TOM, ‘JOHN’, ‘Latham’, ‘Mary’ ] Print (“list[0]:”, list[0]) |
| Functions | def abc( str ): “Hello world, my first function” Print (str) Return |
| Dictionary | dict {‘Name’: ‘SHUBHAM’, ‘Salary’: 50000, ‘Location’: ‘INDIA’} Print (“dict[‘Name’]:”, dict[‘Name’]) # output would be: SHUBHAM Dict[‘salary’] = 50000 #updating the existing value. Print (“dict[‘salary’]:”, dict[‘salary’]) |
| Sending email | import smtplib Smtpobj = smtplib.SMTP([host [, port [, local_hostname]]]) |
| Threading | threading.activecount(), |
| Regular expression | reg.match(pattern, string, flags = 0) |
| Database connectivity | import PyMySQL db = PyMySQL.connect (“localhost”, “username”, “Password”, “Database name”) |
- Data Analyst
- Educator
- Financial Advisors
- Web Developer
- Quality Assurance Engineer
- Researcher
- Python Developer
- Product Manager





Comments