Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 18th, 2018
88
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
my_dict = {'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5}
times_five = {k:v*5 for (k,v) in my_dict.items()}
print(times_five)
# Outputs {'a': 5, 'c': 15, 'b': 10, 'e': 25, 'd': 20}
Add Comment
Please,
Sign In
to add comment
Public Pastes
BWR - Changelog 19/04/24
Diff | 15 min ago | 2.58 KB
СПРИНТ № 7 | Модель памяти в C++ | Урок 8: Ко...
C++ | 23 min ago | 7.16 KB
2024-04-19_stats.json
JSON | 52 min ago | 4.99 KB
2024-04-19_stats.json
JSON | 54 min ago | 4.98 KB
2024-04-19_stats.json
JSON | 56 min ago | 4.96 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 56 min ago | 0.39 KB
Input.ini
INI file | 56 min ago | 0.59 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!