0likes
Related Robots

Creative assistant.
Do you need ideas? I'll help you with that.
39k

story creator (role play)
this bot creates a role-playing story with the characters you create and the setting you want
36k

Story writer
Writer to help you to write the stories you have in mind
80k

AI
I am here to help you with whatever you need
76k
Writer
đ || A writer... Literally.
56k
A bot for any plot
Will follow any plot you give him.
36k

Maria
I can help practice Spanish with you (intermediate level or higher)
40k
REAL LIFE
REAL LIFE WORLD, YOU CAN BE ANYTHING HERE BY COMPLETING YOUR DATA BEFORE PLAYING
75k
RPG with good information
Use your imagination =)
45k
Learn Python
Learn to program in Python. Information searched by DeepSeek "MAY" not be correct in some aspects. Depending on the user's language, the meaning of the words may change since the bot will be mostly written in Spanish. This bot is still under development and there's A LOT more to add, so I would appreciate it if you could report any errors/issues with the bot in the comments.
Greeting
With this bot you will learn to use the "Python" programming language from scratch.
To begin, write something like:
"How to download Python"
"How can I learn to program in Python from scratch? (detailed and in parts)"
(The bot may provide vague information if you ask very general questions, so try to be specific in your questions)
Gender
Categories
Persona Attributes
What is Python?
Python is a high-level programming language, created by Guido van Rossum in 1991. But forget the boring theory: think of Python as a translator between you and the computer, but with such clear syntax that it feels like you're writing in English with simple rules.
from scratch, detailed and in parts. (2)
Part 4: Loops
Objective: Repeat code without copying it.
for (when you know how many times)
for i in range(5): # 0,1,2,3,4
print(f"Turn {i+1}")
while (when you don't know when to stop)
answer = ""
while answer != "exit":
answer = input("Type 'exit' to finish: ")
Exercise: Write a program that adds numbers until the user enters 0 (and then displays the total sum).
Part 5: Lists and Dictionaries (day 6-8)
Objective: To store multiple data in an organized manner.
Lists (ordered sequence)
fruits = ["apple", "pear", "banana"]
fruits.append("orange") # Add
print(fruits[0]) # apple (starts at 0)
for fruit in fruits:
print(fruit)
Dictionaries (key â value)
student = {
"Name": "Luis",
"age": 20,
"city": "BogotĂĄ"
}
print(student["name"])
student["email"] = "luis@mail.com" # Add new key
```â
Exercise: Create a list of 3 dictionaries (each with the name and age of a friend). Go through it and show the name of the oldest.
---
Part 6: Functions
Objective: To organize your code into reusable blocks.
```python
def calculate_tax(price, tax=21): # tax is optional (default 21)
return price (1 + VAT/100)
final_price = calculate_tax(100) # 121
final_price = calculate_tax(100, 10) # 110
Advantage: If you find a bug, you fix it only once (within the function) and it is fixed throughout the program.
â Exercise: Write a function is_older_than_age(age) that returns True or False. Use it in a program that asks for ages until the user enters -1.
Part 7: Files
Objective: To save data so that it is not lost when the program is closed.
# Keep
with open("notes.txt", "w") as file:
file.write("Python: 9\nMathematics: 7")
from scratch, detailed and in parts. (1)
Part 0:
Objective: To have everything ready to write code.
- Download Python from python.org (check "Add to PATH" during installation).
- Install VS Code and add the "Python" extension (the one from Microsoft).
- Create a folder my_projects and inside it a file hello.py.
- Type print("Hello, world") and click "Run" (triangle at the top right).
â Exercise: Change the text to your name and run it 3 times with different messages.
Part 1: Variables and Data Types
Objective: To save information in the computer's memory.
name = "Ana" # Text (str)
age = 25 # Integer (int)
height = 1.65 # Decimal number (float)
is_student = True # True/False (bool)
Golden rule: Python guesses the type automatically, but you can't mix without converting:
· "I have " + str(age) + " years" â you convert number to text.
· int("10") + 5 â converts text to number.
â Exercise: Create variables with your city, year of birth, and whether you like ice cream. Then display a phrase like: "I live in Madrid, I was born in 2000, and I like ice cream: True."
Part 2: Entrance and Exit
Objective: For the program to talk to you (and you to it).
name = input("What's your name?")
age = int(input("How old are you? ")) # Note! input always returns text
print(f"Hello {name}, next year you will be {age + 1} years old")Tip: f-strings (with the f in front) are the cleanest way to mix text and variables.
â
Exercise: Ask for the price of a product and the discount percentage, and display the final price.
theory
Learn how to execute your first print("Hello, world").
- Essential Fundamentals (the 80% you use 80% of the time)
· Variables and Types: int, float, str, bool.
âą Input/Output: input() and print() with f-strings (f"Hello {name}").
· Conditionals: if, elif, else.
· Loops: for (for iterating) and while (for conditions).
âą Data structures: Lists (mutable), Tuples (immutable), Dictionaries (key-value) and Sets (no duplicates).
· Functions: def my_function(param): and the concept of return.
- Common Mistakes (so you don't get frustrated)
· IndentationError: Python is sensitive to indentation (always use 4 spaces).
· NameError: You misspelled a variable.
· TypeError: You added text to a number (convert with int() or str()).
- Next Steps (when you master the basics)
âą File handling: open() to read/write .txt.
· Exceptions: try/except to prevent your program from crashing.
âą List comprehension: [x2 for x in range(5)] (cleaner code).
· Lambda functions and string methods (.split(), .join()).
Prompt
Related Robots

Creative assistant.
Do you need ideas? I'll help you with that.
39k

story creator (role play)
this bot creates a role-playing story with the characters you create and the setting you want
36k

Story writer
Writer to help you to write the stories you have in mind
80k

AI
I am here to help you with whatever you need
76k
Writer
đ || A writer... Literally.
56k
A bot for any plot
Will follow any plot you give him.
36k

Maria
I can help practice Spanish with you (intermediate level or higher)
40k
REAL LIFE
REAL LIFE WORLD, YOU CAN BE ANYTHING HERE BY COMPLETING YOUR DATA BEFORE PLAYING
75k
RPG with good information
Use your imagination =)
45k