#3 Python Tutorial for Beginners | Getting Started with Python

Industry Ready Java Spring Developer – Live Course : https://bit.ly/jDevIndustry
Mastering Java and Spring Boot – Live Course : https://bit.ly/TeluskoJavaLive

Coupon Code : TELUSKO20 (20%off)

For More Queries WhatsApp or Call on : +919008963671

website : https://courses.telusko.com/

Instagram : https://www.instagram.com/navinreddyofficial/
Linkedin : https://in.linkedin.com/in/navinreddy20
TELUSKO Android App : https://bit.ly/TeluskoApp

In this lecture we will learn:
– How operations are performed in Python language?
– Different types of Arithmetic operations
– What are strings?
– How strings are used in Python?
– Function in a Python
– Concatenation and Repetition of Strings
– New line character and Raw string
#1
– We will the Python IDLE in this tutorial.
– The language that the computer understands is Binary Code i.e, 0 and 1.
– We use a programming language to write code, which is neither a binary language nor English.
– Programming language has its own protocols and grammar which we use.
– We will write code in a programming language say Python and then it will convert into a binary format that the computer will understand.
– We can perform several operations using Python language.
#2
– Starting with operations like Addition, Subtraction, Multiplication, and Division.
– We do addition, subtraction and multiplication with integer values, and then it gives us answers also in integer data type.
– But when performing division with integer values then it gives us an answer in float data type.
– Float stands for Floating Point Representation.
– When we divide two integer values then it might be possible that the answer can in decimal.
e.g., 5/2 = 2.5
– As the interpreter wants to give you an exact answer for the division also, it will return it in float.
– If you want to get only the quotient part or the integer part of the answer and want to neglect the decimal value, it can be done with the help of (//).
– // (double slash) is used for division when you want to return only an integer value in the answer.
– // is also called Integer Division or Floor Division.
– We can multiple operations in a single statement as well.
– We need to follow the proper syntax for the programming language.
– If we apply an operation but do not give operands, then it will give an error.
8+9- = Error
– We can also apply BODMASS rules of mathematics to perform operations.
– Double asterisks (**) is used to find the power of a number.
number ** power = 2**3 = 2*2*2
– To get the remainder, we use the modulus operator (%).

#3
– String is a combination of characters like “Youtube”, “Camera”, “Telusko”, “Python”, etc., all are strings.
– Whenever we use strings, we need to use double quotes(” “) or single quotes(‘ ‘) with it in python.
– If you back-slash() to tell the python to ignore the special meaning of that double and single quotes.
– If you use a back-slash before a single or double quotes then the quote is also treated as a simple character.

#4
– Function is a set of tasks that can be done. We need to call functions. There are several functions in Python like the print() function.
– Round brackets are used with a function to pass a parameter in it.
– We can define our own functions as well.

#5
– Concatenation is used to combine two things like we can convert two strings into one using concatenation.
– Concatenation is done using the (+) operator.
e.g., ‘navin’ + ‘navin’

– Repetition is used to print a single value multiple times like we can print a string like “Navin” multiple times.
– Repetition is done using the (*) operator.
e.g., ‘navin’ * 3

#6
– (n) has a special meaning in Python. It is used to enter a new line.
– To print the original string or to neglect the meaning of n, we have to use a Raw String.
– Raw string is a string that returns it as it is without making any changes to it.
– We have to specify (r) before the quote to print the same string that is present inside the quotes.

#Python #telusko

Java:- https://bit.ly/JavaUdemyTelusko
Spring:- https://bit.ly/SpringUdemyTelusko

More Learning :

Java :- https://bit.ly/3x6rr0N
Python :- https://bit.ly/3GRc7JX
Django :- https://bit.ly/3MmoJK6

JavaScript :- https://bit.ly/3tiAlHo
Node JS :- https://bit.ly/3GT4liq

Rest Api :-https://bit.ly/3MjhZwt
Servlet :- https://bit.ly/3Q7eA7k
Spring Framework :- https://bit.ly/3xi7buh
Design Patterns in Java :- https://bit.ly/3MocXiq
Docker :- https://bit.ly/3xjWzLA

Blockchain Tutorial :- https://bit.ly/3NSbOkc
Corda Tutorial:- https://bit.ly/3thbUKa
Hyperledger Fabric :- https://bit.ly/38RZCRB

NoSQL Tutorial :- https://bit.ly/3aJpRuc
Mysql Tutorial :- https://bit.ly/3thpr4L

Data Structures using Java :- https://bit.ly/3MuJa7S
Git Tutorial :- https://bit.ly/3NXyCPu

Donation:
PayPal Id : navinreddy20
https://www.telusko.com

Source: https://www.youtube.com/watch?v=DWgzHbglNIo

Leave a Reply

Your email address will not be published. Required fields are marked *