Files
pythonmc/BookCraigRichardson/files/inputToDoList.py
BarsTigerMeowcat 8bed7171c2 Initial commit
2020-01-26 12:49:01 +02:00

15 lines
585 B
Python
Raw 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.
toDoFile = open("toDoFile.txt", "w", encoding="utf-8")
mnogoZapominaushihKotikov = ""
odinKotik = input("Введите описание дела(vot tak), котики его запомнят: ")
while odinKotik != "zxc":
mnogoZapominaushihKotikov = mnogoZapominaushihKotikov + odinKotik + "\n"
odinKotik = input("Введите описание дела(vot tak)(или zxc для выхода)(после поставьте пробел и нажмите ENTER), котики его запомнят: ")
toDoFile.write(mnogoZapominaushihKotikov)
toDoFile.close(),