Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input()
- if name == 'Johnny':
- print('Hello, my love!')
- else:
- print(f'Hello, {name}!')
- Тарикатско решение:
- name = input()
- print('Hello, my love!' if name == 'Johnny' else f'Hello, {name}!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement