HomeSimulators › Python

Python

Variables, control flow, lists, dicts, recursion

50+ simulators are FREE — no login needed! Try them now. Sign up to unlock all 1209 simulators. Sign Up Free

99 simulators found.

PYZ01 · Python

Python print()

Python print() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ02 · Python

Comments in Python

Comments in Python ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ03 · Python

Variables & Assignment

Variables & Assignment ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ04 · Python

Data Types & type()

Data Types & type() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ05 · Python

Type Casting

Type Casting ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ06 · Python

input() from User

input() from User ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ07 · Python

f-strings

f-strings ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ08 · Python

Arithmetic Operators

Arithmetic Operators ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ09 · Python

Operator Precedence

Operator Precedence ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ10 · Python

Augmented Assignment

Augmented Assignment ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ11 · Python

Boolean & Comparison

Boolean & Comparison ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ12 · Python

None & Identity (is)

None & Identity (is) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ13 · Python

String Indexing

String Indexing ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ14 · Python

String Slicing

String Slicing ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ15 · Python

len() & String Length

len() & String Length ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ16 · Python

upper / lower / title

upper / lower / title ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ17 · Python

strip() Whitespace

strip() Whitespace ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ18 · Python

replace()

replace() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ19 · Python

split()

split() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ20 · Python

join()

join() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ21 · Python

find() & in

find() & in ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ22 · Python

format()

format() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ23 · Python

String Multiplication

String Multiplication ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ24 · Python

Escape Sequences

Escape Sequences ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Beginner Login Open →
PYZ25 · Python

Create & Index List

Create & Index List ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ26 · Python

append() & insert()

append() & insert() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ27 · Python

remove() & pop()

remove() & pop() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ28 · Python

List Slicing

List Slicing ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ29 · Python

sort() & sorted()

sort() & sorted() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ30 · Python

reverse() & len

reverse() & len ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ31 · Python

List Comprehension

List Comprehension ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ32 · Python

sum / min / max

sum / min / max ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ33 · Python

enumerate()

enumerate() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ34 · Python

Nested Lists (Matrix)

Nested Lists (Matrix) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ35 · Python

copy vs reference

copy vs reference ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ36 · Python

count() & index()

count() & index() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ37 · Python

Tuples (Immutable)

Tuples (Immutable) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ38 · Python

Tuple Unpacking

Tuple Unpacking ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ39 · Python

Sets (Unique)

Sets (Unique) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ40 · Python

Set Operations

Set Operations ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ41 · Python

Dictionary Basics

Dictionary Basics ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ42 · Python

dict get() & update

dict get() & update ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ43 · Python

dict keys/values/items

dict keys/values/items ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ44 · Python

Dict Comprehension

Dict Comprehension ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ45 · Python

Nested Dict

Nested Dict ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ46 · Python

in / not in (dict)

in / not in (dict) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ47 · Python

zip()

zip() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ48 · Python

sorted dict by value

sorted dict by value ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ49 · Python

if Statement

if Statement ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ50 · Python

if / else

if / else ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ51 · Python

if / elif / else

if / elif / else ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ52 · Python

Nested if

Nested if ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ53 · Python

Ternary Expression

Ternary Expression ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ54 · Python

for over range()

for over range() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ55 · Python

for over list

for over list ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ56 · Python

while Loop

while Loop ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ57 · Python

break

break ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ58 · Python

continue

continue ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ59 · Python

pass

pass ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ60 · Python

for...else

for...else ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ61 · Python

def Function

def Function ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ62 · Python

Parameters & return

Parameters & return ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ63 · Python

Default Arguments

Default Arguments ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ64 · Python

Keyword Arguments

Keyword Arguments ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ65 · Python

*args

*args ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ66 · Python

**kwargs

**kwargs ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ67 · Python

lambda

lambda ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ68 · Python

map()

map() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ69 · Python

filter()

filter() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ70 · Python

Recursion (Factorial)

Recursion (Factorial) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ71 · Python

Variable Scope

Variable Scope ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ72 · Python

Docstrings & help

Docstrings & help ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Intermediate Login Open →
PYZ73 · Python

Define a Class

Define a Class ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ74 · Python

__init__ Constructor

__init__ Constructor ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ75 · Python

Instance Methods

Instance Methods ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ76 · Python

self Explained

self Explained ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ77 · Python

Inheritance

Inheritance ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ78 · Python

super()

super() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ79 · Python

Polymorphism

Polymorphism ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ80 · Python

Encapsulation

Encapsulation ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ81 · Python

__str__

__str__ ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ82 · Python

Class vs Instance Attr

Class vs Instance Attr ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ83 · Python

@classmethod

@classmethod ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ84 · Python

@staticmethod

@staticmethod ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ85 · Python

import module

import module ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ86 · Python

from ... import

from ... import ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ87 · Python

random Module

random Module ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ88 · Python

datetime

datetime ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ89 · Python

try / except

try / except ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ90 · Python

finally

finally ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ91 · Python

raise

raise ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ92 · Python

Write a File

Write a File ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ93 · Python

Read a File

Read a File ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ94 · Python

with Statement

with Statement ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ95 · Python

JSON

JSON ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ96 · Python

List of Dicts

List of Dicts ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ97 · Python

any() / all()

any() / all() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ98 · Python

Generators (yield)

Generators (yield) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →
PYZ99 · Python

Mini Project: Word Count

Mini Project: Word Count ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.

Advanced Login Open →