Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
04. Personal Titles
desislava_topuzakova
Nov 12th, 2022
181
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
age = float(input())
gender = input()
if gender == "m":
if age < 16:
print("Master")
else:
print("Mr.")
elif gender == "f":
if age < 16:
print("Miss")
else:
print("Ms.")
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
OoT rando seed 4/16
13 min ago | 67.81 KB
Untitled
39 min ago | 8.21 KB
Untitled
1 hour ago | 8.46 KB
Untitled
2 hours ago | 7.62 KB
Web Maintenance Kickoff [POST REDESIGN]
3 hours ago | 0.98 KB
Untitled
3 hours ago | 7.43 KB
Untitled
4 hours ago | 6.56 KB
Untitled
5 hours ago | 16.10 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!