Skip to content

lexxai/goit_python_core_hw_09

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

goit_python_core_hw_09

example:

Bot init
Enter your command:help
List of commands: hello, add, change, phone, show all, help, good bye, close, exit
Enter your command:add
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:add Jon
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:help add
Add user and phone. Required username and phone.
Enter your command:add Silver +322 0002 2221 222
Done
Enter your command:add Silver1 +322 0002 2221 221
Done
Enter your command:change
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:change sss
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:change sss 222
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:change Silver +9999 9999
Done
Enter your command:s
Your command is not recognized, try to enter other command
Enter your command:show all
user: Silver, phone: +9999 9999
user: Silver1, phone: +322 0002 2221 221
Enter your command:phone
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:phone 111
Sorry, there are not enough parameters or their value may be incorrect. Please use the help for more information.
Enter your command:phone Silver
+9999 9999
Enter your command:phone Silver1
+322 0002 2221 221
Enter your command:exit
Good bye