Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
EX1 LSD
STANAANDREY
Sep 30th, 2022
865
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
last_digit
(
x
)
:
return
x %
10
if
__name__
==
"__main__"
:
x
=
int
(
input
(
"x="
)
)
print
(
"last digit of %d is %d"
%
(
x
,
last_digit
(
x
)
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Crypto admin access
51 min ago | 0.43 KB
Free Crypto Method
CSS | 52 min ago | 0.70 KB
+12,000$ in 2 days
CSS | 52 min ago | 0.71 KB
Documents
53 min ago | 0.43 KB
Halo Evolutions 36
15 hours ago | 0.28 KB
Halo Evolutions 35
16 hours ago | 1.77 KB
Halo Evolutions 34
16 hours ago | 0.97 KB
Halo Evolutions 33
16 hours ago | 0.86 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!