Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
Python
0/50 solved · 0%
All lessons
lesson
code
Collections · easy
7. Dictionaries
Key-value records.
Write `make_wallet(address, balance)` returning `{"address": address, "balance": balance}`.
Required in your answer:
def make_wallet
return {
Reveal solution
Run & check
Reset
Runs via Pyodide
def make_wallet(address, balance): # TODO pass
Output appears here.
← 6. Lists
8. List comprehensions →