0% found this document useful (0 votes)
8 views2 pages

Programming in Python

This document outlines a Python programming course covering essential concepts such as case sensitivity, spacing, and error messages. It introduces basic elements like data types, control flow, and applying Python to data science with libraries like NumPy and pandas. The course includes lessons on data types, operators, and built-in functions, emphasizing the importance of structure and organization in programming.

Uploaded by

girma20234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Programming in Python

This document outlines a Python programming course covering essential concepts such as case sensitivity, spacing, and error messages. It introduces basic elements like data types, control flow, and applying Python to data science with libraries like NumPy and pandas. The course includes lessons on data types, operators, and built-in functions, emphasizing the importance of structure and organization in programming.

Uploaded by

girma20234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Programming in Python

As you learn Python throughout this course, there are a few things you should keep in mind.
1. Python is case sensitive.
2. Spacing is important.
3. Use error messages to help you learn.

 Introduction to python and Data


Basic Elements
Data Types and Structure
 Control Flow
Conditionals and loops
Functions
 Applying python to Data Science
Scripting
NumPy Pandas

In this course, you will first learn how to write basic Python statements using building blocks
like the print statement, variables, and different data types. You will then look into ways to
group and order data types into different data structures. With an understanding of how data is
structured and organized in programming, you will then control the flow of your code with
conditionals, loops, and functions. Then, in the Scripting lesson, you will combine all the
concepts you’ve learned and write and run code in your local environment. Lastly, you will learn
to apply Python to Data Science, using some pre-built collections of code, or packages. These
include NumPy, a package for efficient scientific computation, and pandas, a popular data
science package for manipulating data that’s built on top of NumPy.
Let's dive right in!

Data Types and Operators


In this lesson, you will learn how to write basic Python statements using building blocks like the
print statement, variables, and different data types.
Here are the topics you'll learn about:
 Data Types: Integers, Floats, Booleans, Strings
 Operators: Arithmetic, Assignment, Comparison, Logical
 Built-In Functions, Type Conversion
 Whitespace and Style Guidelines
Print Statements
print () - built-in function that displays input values as text in the output

Arithmetic Operators
Arithmetic operators
 + Addition
 - Subtraction
 * Multiplication
 / Division
 % Mod (the remainder after dividing)
 ** Exponentiation (note that ^ does not do this operation, as you might have seen in other
languages)
 // Divides and rounds down to the nearest integer
The usual order of mathematical operations holds in Python, often referred to
as PEMDAS: Parentheses, Exponents, Multiplication/Division, Addition/Subtraction.

You might also like