Python
Variables, control flow, lists, dicts, recursion
99 simulators found.
Python print()
Python print() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Comments in Python
Comments in Python ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Variables & Assignment
Variables & Assignment ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Data Types & type()
Data Types & type() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Type Casting
Type Casting ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
input() from User
input() from User ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
f-strings
f-strings ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Arithmetic Operators
Arithmetic Operators ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Operator Precedence
Operator Precedence ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Augmented Assignment
Augmented Assignment ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Boolean & Comparison
Boolean & Comparison ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
None & Identity (is)
None & Identity (is) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
String Indexing
String Indexing ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
String Slicing
String Slicing ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
len() & String Length
len() & String Length ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
upper / lower / title
upper / lower / title ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
strip() Whitespace
strip() Whitespace ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
replace()
replace() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
split()
split() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
join()
join() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
find() & in
find() & in ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
format()
format() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
String Multiplication
String Multiplication ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Escape Sequences
Escape Sequences ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Create & Index List
Create & Index List ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
append() & insert()
append() & insert() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
remove() & pop()
remove() & pop() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
List Slicing
List Slicing ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
sort() & sorted()
sort() & sorted() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
reverse() & len
reverse() & len ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
List Comprehension
List Comprehension ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
sum / min / max
sum / min / max ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
enumerate()
enumerate() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Nested Lists (Matrix)
Nested Lists (Matrix) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
copy vs reference
copy vs reference ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
count() & index()
count() & index() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Tuples (Immutable)
Tuples (Immutable) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Tuple Unpacking
Tuple Unpacking ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Sets (Unique)
Sets (Unique) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Set Operations
Set Operations ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Dictionary Basics
Dictionary Basics ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
dict get() & update
dict get() & update ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
dict keys/values/items
dict keys/values/items ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Dict Comprehension
Dict Comprehension ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Nested Dict
Nested Dict ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
in / not in (dict)
in / not in (dict) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
zip()
zip() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
sorted dict by value
sorted dict by value ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
if Statement
if Statement ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
if / else
if / else ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
if / elif / else
if / elif / else ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Nested if
Nested if ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Ternary Expression
Ternary Expression ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
for over range()
for over range() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
for over list
for over list ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
while Loop
while Loop ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
break
break ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
continue
continue ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
pass
pass ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
for...else
for...else ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
def Function
def Function ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Parameters & return
Parameters & return ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Default Arguments
Default Arguments ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Keyword Arguments
Keyword Arguments ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
*args
*args ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
**kwargs
**kwargs ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
lambda
lambda ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
map()
map() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
filter()
filter() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Recursion (Factorial)
Recursion (Factorial) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Variable Scope
Variable Scope ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Docstrings & help
Docstrings & help ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Define a Class
Define a Class ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
__init__ Constructor
__init__ Constructor ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Instance Methods
Instance Methods ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
self Explained
self Explained ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Inheritance
Inheritance ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
super()
super() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Polymorphism
Polymorphism ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Encapsulation
Encapsulation ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
__str__
__str__ ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Class vs Instance Attr
Class vs Instance Attr ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
@classmethod
@classmethod ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
@staticmethod
@staticmethod ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
import module
import module ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
from ... import
from ... import ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
random Module
random Module ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
datetime
datetime ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
try / except
try / except ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
finally
finally ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
raise
raise ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Write a File
Write a File ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Read a File
Read a File ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
with Statement
with Statement ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
JSON
JSON ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
List of Dicts
List of Dicts ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
any() / all()
any() / all() ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Generators (yield)
Generators (yield) ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.
Mini Project: Word Count
Mini Project: Word Count ÔÇö interactive Python simulator with real code, expected output, dry-run steps and exam answer format.