0% found this document useful (0 votes)
20 views

Python Basics

The document covers Python basics including variables, strings, numbers, lists, tuples, functions, if statements, while loops, dictionaries and common operations with each topic.

Uploaded by

Aldo Hall
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Python Basics

The document covers Python basics including variables, strings, numbers, lists, tuples, functions, if statements, while loops, dictionaries and common operations with each topic.

Uploaded by

Aldo Hall
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Python Basics

 Variables, strings, and Numbers


o Variables
o Strings
o Numbers
 Lists and Tuples.
o Introducing Lists
o Lists and Looping.
o Common List Operations
o Removing Items from a List
o Slicing a List
o Numerical Lists
o Strings as Lists
o Tuples
 Introducing Functions
o What are functions?
 If Statements
o What is an if statement?
o Logical tests
o The if-elif...else chain
 While Loops and Input
o What is a while loop?
o Accepting user input
o Using while loops to keep your programs running.
o Using while loops to make menus.
o Using while loops to process items in a list.
 Dictionaries
o What are dictionaries?
o Common operations with dictionaries
o Looping through a dictionary
o Nesting

You might also like