Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 20th, 2017
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
def square(n):
"""Returns the square of a number."""
squared = n ** 2
print "%d squared is %d." % (n, squared)
return squared
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
58 sec ago | 19.36 KB
Untitled
20 min ago | 0.22 KB
Untitled
1 hour ago | 7.85 KB
Untitled
1 hour ago | 0.03 KB
Untitled
2 hours ago | 19.38 KB
Untitled
2 hours ago | 0.04 KB
Untitled
4 hours ago | 16.24 KB
Untitled
5 hours ago | 5.55 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!