Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
personal_titles
ydpetkov
Jul 24th, 2022
(
edited
)
59
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
age = float(input())
sex = input()
if sex == "m":
if age >= 16:
print("Mr.")
else:
print("Master")
if sex == "f":
if age >= 16:
print("Ms.")
else:
print("Miss")
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 16.19 KB
Untitled
3 hours ago | 12.99 KB
Untitled
4 hours ago | 6.77 KB
Untitled
5 hours ago | 25.32 KB
Untitled
6 hours ago | 6.13 KB
Untitled
7 hours ago | 5.74 KB
Untitled
8 hours ago | 5.46 KB
Untitled
9 hours ago | 6.04 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!