From 77cacf463506fd3e471f9618a3454d6b9eed537f Mon Sep 17 00:00:00 2001 From: BolDwOlD <149318132+BolDwOlD@users.noreply.github.com> Date: Thu, 30 May 2024 19:18:09 +0300 Subject: [PATCH] README.md --- README.md | 83 ++++--------------------------------------------------- 1 file changed, 6 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index 66ac4a6..2b3c473 100644 --- a/README.md +++ b/README.md @@ -1,79 +1,8 @@ -# Python Projects: Chatty Bot 🐍 -This repo contains python code that creates a simple console chat bot that will do wonders to guide you through the basics of coding. During this project you will also play some word and number games.
-Run the code. +Π’Π΅ΠΌΠ°Ρ‚ΠΈΠΊΠ° ΠΌΠΎΠ΅Π³ΠΎ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°: +Python Projects:Π§Π°Ρ‚ Π±ΠΎΡ‚πŸ +ЀУНКЦИИ: +Π­Ρ‚ΠΎ Ρ€Π΅ΠΏΠΎΠ·ΠΈΡ‚ΠΎΡ€ΠΈΠΉ ΠΈΠΌΠ΅Π΅Ρ‚ ΠΊΠΎΠ΄ Π½Π° python, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ создаСт Ρ‡Π°Ρ‚-Π±ΠΎΡ‚Π°, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ Π±ΡƒΠ΄Π΅Ρ‚ Ρ‚Π²ΠΎΡ€ΠΈΡ‚ΡŒ чудСса, обучая основныС эллСмСнты программирования. Π’ΠΎ врСмя этого ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π° Π²Ρ‹ ΠΌΠΎΠΆΠ΅Ρ‚Π΅ ΠΏΠΎΠΈΠ³Ρ€Π°Π΅Ρ‚Π΅ Π² нСсколько ΠΈΠ³Ρ€ со словами ΠΈ Ρ†ΠΈΡ„Ρ€Π°ΠΌΠΈ.
-Python -```python -def greet(bot_name, birth_year): - print('Hello! My name is ' + bot_name + '.') - print('I was created in ' + birth_year + '.') - - -def remind_name(): - print('Please, remind me your name.') - name = input() - print('What a great name you have, ' + name + '!') - - -def guess_age(): - print('Let me guess your age.') - print('Enter remainders of dividing your age by 3, 5 and 7.') - - rem3 = int(input()) - rem5 = int(input()) - rem7 = int(input()) - age = (rem3 * 70 + rem5 * 21 + rem7 * 15) % 105 - - print("Your age is " + str(age) + "; that's a good time to start programming!") - - -def count(): - print('Now I will prove to you that I can count to any number you want.') - - num = int(input()) - curr = 0 - while curr <= num: - print(curr, '!') - curr = curr + 1 - - -def test(): - print("Let's test your programming knowledge.") - - print('Why do we use methods?') - print('1. To repeat a statement multiple times.') - print('2. To decompose a program into several small subroutines.') - print('3. To determine the execution time of a program.') - print('4. To interrupt the execution of a program.') - - possible_answer = 0 - while possible_answer != 2: - possible_answer = int(input()) - if possible_answer != 2: - print('Please, try again.') - - -def end(): - print('Congratulations, have a nice day!') - - -greet('Aid', '2020') # change it as you need -remind_name() -guess_age() -count() -# ... -test() -end() - -``` - -Output -```python -What is you name? -Good Luck! name -Guess the character... -Enter remainders by dividing your age by 3, 5 and 7. -Now I will prove to you that I can count to any number you want. - -``` +РСализация: +ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Π½Ρ‹ Python