Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Aufgabe 16
#Python 2.7.17 inv = [] # Inventory def give(item): inv.append(str(item)) def take(item): inv.remove(str(item)) give("Sword") give("Dagger") take("Sword") give("Hammer")
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Cofe
Lambda
binary
Printing
Roman numrals
Dictionary comprehension - convert to lowercase
binary
ab.py
rstring
single_digit_5
Please log in to post a comment.