Learn AI for Free in 2026π
1/ Kaggle Learn:
https://www.kaggle.com/learn
2/ Anthropic Learn:
https://www.anthropic.com/learn
3/ OpenAI Academy:
https://academy.openai.com/
4/ Google AI:
https://grow.google/ai/
5/ LangChain Academy:
https://academy.langchain.com/
1/ Kaggle Learn:
https://www.kaggle.com/learn
2/ Anthropic Learn:
https://www.anthropic.com/learn
3/ OpenAI Academy:
https://academy.openai.com/
4/ Google AI:
https://grow.google/ai/
5/ LangChain Academy:
https://academy.langchain.com/
π6
Letβs dive into our first mini project using Python:
Project 1: Number Guessing Game π―
Goal:
The computer randomly picks a number between 1 and 100.
The user has to guess it β and the program gives hints like βToo Highβ or βToo Lowβ until the user gets it right.
Code:
Concepts used:
β’ random.randint() for generating numbers
β’ Taking user input using input() & converting input to integers
β’ Using while loops and if-else logic
React with β₯οΈ for the next project
Important Python Concepts: https://whatsapp.com/channel/0029VaiM08SDuMRaGKd9Wv0L/1441
For all resources and cheat sheets, check out our Telegram channel
ππ
https://t.me/pythonproz
Hope it helps :)
Project 1: Number Guessing Game π―
Goal:
The computer randomly picks a number between 1 and 100.
The user has to guess it β and the program gives hints like βToo Highβ or βToo Lowβ until the user gets it right.
Code:
import random
number_to_guess = random.randint(1, 100)
guess = None
attempts = 0
print("Welcome to the Number Guessing Game!")
print("I'm thinking of a number between 1 and 100.")
while guess != number_to_guess:
guess = int(input("Enter your guess: "))
attempts += 1
if guess < number_to_guess:
print("Too low! Try again.")
elif guess > number_to_guess:
print("Too high! Try again.")
else:
print(f"Congratulations! You guessed it in {attempts} tries.")
Concepts used:
β’ random.randint() for generating numbers
β’ Taking user input using input() & converting input to integers
β’ Using while loops and if-else logic
React with β₯οΈ for the next project
Important Python Concepts: https://whatsapp.com/channel/0029VaiM08SDuMRaGKd9Wv0L/1441
For all resources and cheat sheets, check out our Telegram channel
ππ
https://t.me/pythonproz
Hope it helps :)
π2π2π₯1