Answer to Question #164837 in Python for Angelie Suarez

Question #164837

How to display Name, age, address, sex, and status in Python? for beginners!!! please enter the code so that I can copy-paste it. THANK YOU


1
Expert's answer
2021-02-19T06:18:19-0500
#!/usr/bin/env python
# Print an  information about a criminal

name = 'Charles Krueger'
age = 33
address = 'Elm Street, 123'
sex = 'M'
status = 'wanted'

print('Please take into consider:')
print('==========================')
print(f'Name: {name}')
print(f'Age: {age}, sex: {sex}')
print(f'Address: {address}')
print(f'Status: {status}')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS