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
#!/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}')
Comments
Leave a comment