project-python/lesson_2.py

7 lines
383 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'''******* задание 2 из 20 параграф 2.1 ********
* Для этого напишите диалоговую программу, которая сначала спросит имя пользователя, а затем поприветствует его.
'''
if __name__ == "__main__":
name = input("Как Вас зовут?")
print("Привет,", name)