Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary basics of python language'

Rating
-
Sold
-
Pages
2
Uploaded on
17-05-2023
Written in
2022/2023

It will teach you the fundamentals of Python programming, such as lists, dictionaries, classes, and loops, and the second will help you practice producing clean code. You’ll create three projects in the second part: a Space Invaders arcade game, a series of data visualizations, and a small web application.

Show more Read less
Institution
Course

Content preview

#3 Python Tutorial for Beginners | Getting Started with Python


Introduction to Python Programming

In this lesson, we will be talking about Python programming. In the previous lessons, we discussed what Python
is and how to install it on your machine. Now, it's time to dive into the actual coding.



Step 1: Opening Your IDE

Before we start with the actual code, we have to ask ourselves, why do we code? We live in a world where
everything is done with computers. If we want to talk to our computer, we need to understand their language,
which is binary code. However, it's not exactly possible to talk to a computer in binary code. So, we created
programming languages, like Python, to bridge the gap between human and computer languages.



To start coding in Python, we need to open our Integrated Development Environment (IDE). In this tutorial, we
will be using IDLE, which is one of the easiest IDEs to use.



Basic Operations in Python

Let's start with some basic operations. We will be using the Python interpreter to execute our code. We will try
out addition, subtraction, multiplication, and division.



Addition: To add two numbers, we use the '+' symbol. For example, 2+3=5.

Subtraction: To subtract two numbers, we use the '-' symbol. For example, 9-8=1.

Multiplication: To multiply two numbers, we use the '*' symbol. For example, 4*6=24.

Division: To divide two numbers, we use the '/' symbol. For example, 8/4=2.0. Note that this gives us a float
value.

We can also use brackets to group our operations. For example, (8+9)-10=7.



We can also use exponentiation to find the power of a number. To do this, we use the double asterisk '**'
symbol. For example, 2**3=8.

Written for

Institution
Course

Document information

Uploaded on
May 17, 2023
Number of pages
2
Written in
2022/2023
Type
SUMMARY

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
rashmib

Get to know the seller

Seller avatar
rashmib Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions