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 Introduction to python

Rating
-
Sold
-
Pages
4
Uploaded on
25-02-2023
Written in
2022/2023

It's an introduction to python where you get to know about what is python and what are few data base in python and it's beginner friendly and more notes will come soon at minimal effort by you but best effort by us.

Institution
Course

Content preview

PYTHON
LECTURE-1
Python is a programming language and a binary format language. It is the
language which computer understands is binary code which zeros and ones now
it is not actually possible right of course so what you have to do is us e a
language which will which both will understand and of course do we so do we.
Python is one of the easiest programming languages in the world right so what I
will do is I would say two plus three this is the simplest task you can do on
Python. When you subtract two numbers we argue that number right and
specifically this are integer numbers right we all use integers but then when you
divide a number it is giving you a point value now which is also correct float
numbers. You can have multiple operations but then we have to follow grommet
right if you say 8 plus 9 and then subtract you forgot to type 10 there it will give
you an error which is invalid syntax and that 's why you need to follow the
grammar as well.

We have to use a special symbol here which is modulus and we 'll say 3 you can
see we got 1 which is a remainder so when is a 10 more than 3 you will get a
limiter which is 1 okay this works yay now you know all the operators right now
what else we can do here? If you observe here we have single cod e as a starting
one and then we also have a single quote here so that means that is one string
and then this thing which is s laptop it is not as a part of that single code that 's
what that that's where the problem starts so you can not simply have single
quote anywhere right so how do you solve this problem? We have two solutions
the first one is you in stop using single quote you can use double quotes
example. Problem starts so what you will do now because if I say enter you got
invalid syntax in that case we will say single quote navin's and then in double
quotes will say laptop. Problem is with this s right this s is coming before a
single quote so you have to tell your Python hey Python can you just skip that
special meeting of that single quote and the way you do that is by giving a
slash.

Written for

Institution
Course

Document information

Uploaded on
February 25, 2023
Number of pages
4
Written in
2022/2023
Type
SUMMARY

Subjects

$3.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
constantaryan

Get to know the seller

Seller avatar
constantaryan (self)
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
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