Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
String Pureness
DiYane
Jul 2nd, 2023
(
edited
)
1,136
1
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.21 KB
| Help
|
1
0
raw
download
clone
embed
print
report
n
=
int
(
input
(
)
)
for
_
in
range
(
n
)
:
string
=
input
(
)
if
','
in
string
or
'.'
in
string
or
'_'
in
string
:
print
(
f
"{string} is not pure!"
)
else
:
print
(
f
"{string} is pure."
)
Tags:
python
fundamentals
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Nine Domains for Sale
7 hours ago | 0.60 KB
How to Reorder Pages
Python | 1 day ago | 7.77 KB
How to Extract Pages from PDF
Python | 1 day ago | 8.76 KB
How to Add Header or Footer
Python | 1 day ago | 11.39 KB
tmp
1 day ago | 0.03 KB
Untitled
2 days ago | 9.20 KB
Tabs
2 days ago | 1.39 KB
temp sglang key
3 days ago | 0.07 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!