Open main menu
python-fiddle.com
Examples
Tools
Learning
AI Data Analyst
Sign In
Examples
Tools
Learning
AI Data Analyst
Chrome Extension
Sign In
Python Tutorials
Learn Python online with hands-on tutorials
Python Basics
Booleans
10 commonly used built-in functions
Conditional statements
Continue and break statements
Dictionaries
Dictionary comprehension
f-strings
For loops
Functions
The import statement
Lists
List comprehension
The not Operator
Numbers
The or Operator
Print statements
The range function
Sets
Strings
String Formatting
Tuples
Variable assignment
While loops
Data visualization
Web Maps with Folium
Matplotlib Arrows
Matplotlib Axis Labels
Bar Plots in Matplotlib
Matplotlib Colormaps
Matplotlib Named Colors
Custom Legend with Matplotlib
Fill the Area Between Curves in Matplotlib
Customizing Font Size in Matplotlib
Heatmaps in Matplotlib
Adding Horizontal Lines in Matplotlib
Customizing Line Styles in Matplotlib
Quiver Plots in Matplotlib
Scatter Plots in Matplotlib
Creating Tables in Matplotlib
Matplotlib Text
Dual Y-Axis Plots in Matplotlib
Matplotlib vs Plotly
Network Analysis with NetworkX
Histograms in Plotly
Scatter Plots in Plotly
Histograms with Seaborn
Matplotlib
Matplotlib Arrows
Matplotlib Axis Labels
Bar Plots in Matplotlib
Matplotlib Colormaps
Matplotlib Named Colors
Custom Legend with Matplotlib
Fill the Area Between Curves in Matplotlib
Customizing Font Size in Matplotlib
Heatmaps in Matplotlib
Adding Horizontal Lines in Matplotlib
Customizing Line Styles in Matplotlib
Quiver Plots in Matplotlib
Scatter Plots in Matplotlib
Creating Tables in Matplotlib
Matplotlib Text
Dual Y-Axis Plots in Matplotlib
Matplotlib vs Plotly
Data Structures
Booleans
Counter
Dataclasses
defaultdict
Dictionaries
enum
Lists
namedtuple
Numbers
Sets
Strings
Tuples
Object-Oriented Programming
Class inheritance
Class vs instance attributes
Classes
@classmethod
Method overriding
Public, private, and protected attributes
@property
@staticmethod
The "super" method
Functions
Args and kwargs
Decorators
Functions
Keyword arguments
Lambda functions
Local and global scope
Control Flow
Conditional statements
Continue and break statements
For loops
for-else
Functions
While loops
Advanced Python
Context Managers
Custom Exceptions
Decorators
Generators
Assignment by reference
Try-Except Blocks
Builtins
10 commonly used built-in functions
enumerate
filter
map
zip
Decorators
@classmethod
Decorators
@property
@staticmethod
Error Handling
Custom Exceptions
Exceptions
Handling KeyError
Try-Except Blocks
Strings
f-strings
Print statements
Strings
String Formatting
Other Modules
File I/O
The glob module
The math module
The os module
Plotly
Matplotlib vs Plotly
Histograms in Plotly
Scatter Plots in Plotly
Performance
Generators
Data Science
Linear Regression in Python
Functools
reduce