What is Python?

Q. What is Python? What can you do with it? And why is it so popular?

 

Python is the world's fastest-growing, multi-purpose programming language with a simple, and beginner-friendly syntax. It helps solve complex problems in less time and with fewer lines of code. It is a high-level language with cross-platform capability (Win/Mac/Linux) and a large ecosystem of libraries, frameworks, and tools.

 

Q. What are 10 popular tech companies that are choosing "Python" for the back-end of their websites?

 

1. Instagram         2. Google            3. YouTube

4. Spotify              5. Netflix              6. Uber

7. DropBox           8. Pinterest          9. Instacart       10. Reddit

 

 

Python for Beginners

Q. What are some of the basic coding instructions used in the Python Programming Language?

 

00:00  syntax - A concept in writing code dealing with a very specific set of characters and symbols organized in a very specific order that is recognized by a computer's operating system. 

 

04:08  print - The function or command that instructs the computer to print the designated instruction.

 

04:12  parenthesis ( ) - The beginning and end markers of a programming request.

 

04:13  quotes " " - The beginning and end markers for a string or sequence of characters.

 

04:24  string - A sequence of characters referred to as textual data that is used to write a program.

 

04:50  run - The function or command that instructs the computer to run the designated instructions.

 

05:10  terminal window - The area designated for visual viewing of a computer responds to program instructions.

 

Example:  print ("Hello World")

Hello World

05.30  variable - The label or name of temporary storage of data in a computer's memory.

 

05.40  value - A unique identifying property of a computer instruction associated with a variable.

 

05:45  age = 20 - In this example, age is the variable, and 20 is the value.

 

Example:  age = 20

                  print (age)

20

 

07:18  values as number(s) - A value may be designated as a whole number or as a number with a decimal point.

 

Example:  price = 19.95

                  print (price)

19.95

07:30  underscore - An underscore is used to separate words and helps make variables more readable.

 

Example:  first_name = "Mosh"

                   print (first_name)

Mosh

 

08:02  boolean - A special type of case-sensitive value that is known as the boolean True value or the boolean False value.

 

Example:   is_online = True

                              or

                   is_online = False

Exercise 1

 

09:08  Write a Python code that declares the following information:

 

 - Patient named John Smith

 - He is 20 years old

 - He is a new patient

 

first_name = "John"

last_ name = "Smith"

age = 20

new_patient = True

print ("Patient: ") + (first_name ) + (last name)

print ("Age: ") + (age)

print ("New Patient: ") + (new_patient)

Print | Sitemap
2025 © RioXP Business Network