Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("Войдтие в систему:")
- a = input ()
- if a == "xendie NORAgami":
- print ("Вход выполнен успешно.")
- print ( "Добро пожаловать в ChatBot,XenDie" )
- elif a == "portal CakeIsALie":
- print ("Вход выполнен успешно.")
- print ( "Добро пожаловать в ChatBot,Portal" )
- else:
- print ("go nahuy")
- input ()
- from datetime import datetime
- now = datetime ()
- print (now)
- Када вхожу выдаёт ошибку:
- Traceback (most recent call last):
- File "C:\Users\xXx_XenDie_xXx\Desktop\ChatBot1.py", line 13, in <module>
- now = datetime ()
- TypeError: Required argument 'year' (pos 1) not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement