Python2_ASTU.zip
36.2 MB
πŸ‘‰ Full installation of Python 2
- including to Robot library
- modules to be copied to C:/python/Lib/site-packages is in modules folder
- Setup order video




#python
#python2
#install
#freshman
@negafantech
❀2
🐍 Day 2 β€” Installing Python & Running Your First Code

Before we start writing Python programs, we need to set up our environment.

πŸ’» Step 1: Install Python
Download Python from the official website:
➑️ https://www.python.org/downloads
Make sure to check:
βœ” Add Python to PATH during installation (important!)

🧰 Step 2: Choose Where to Write Code
You can use any of the following:
βœ” IDLE (comes with Python)
βœ” VS Code (very popular)
βœ” PyCharm
βœ” Jupyter Notebook (for data science)
For beginners, VS Code or IDLE is perfect.
▢️ Step 3: Run Your First Python Code
Open your editor and type:
print("Hello, Python!")


If you see:
Hello, Python!


Congrats! 🀝 You just ran your first Python program.

πŸ“Œ Tip of the Day
Python uses indentation (spaces/tabs) instead of braces {} β€” so spacing matters!

πŸ“ Mini Task
Comment below:
Which editor are you using?

#negafantech
#python
#programming
#day2
🐍 Day 3 β€” Variables in Python

In Python, variables are used to store information so we can use it later in our program.
Think of a variable as a labeled box that holds data.

βœ” Creating a Variable
Example:
name = "Alice"
age = 21
pi = 3.14


Here:
"Alice" is a string
21 is an integer
3.14 is a float

Python automatically detects the type β€” no need to declare it manually.

βœ” Printing Variables

print(name)
print(age)


Output:

Alice
21


πŸ’‘ Why Variables Matter?
Variables make programs dynamic and flexible. You can change their values without changing the entire code.

🧩 Mini Task
Create two variables: your name and your favorite programming language, then print them.

Reply with your output! πŸ‘‡

#negafantech
#Python
#programming
#day3

πŸ’¬ Join the Telegram community πŸ”—
πŸŽ₯ Follow on TikTok πŸ”—
πŸ“Ί Watch on YouTube πŸ”—
πŸ“Day 5 β€” User Input in Python

Today we learn how programs interact with people!
The input() function allows users to enter data while the program is running.


🧩 How it Works
name = input("Enter your name: ")
print("Hello", name)



When you run this, Python waits for the user to type something.

πŸ” Important Point

Everything entered through input() is treated as text (string) by default.


So if you need numbers, you must convert them:

age = int(input("Enter your age: "))
print(age + 1)


🌟 Why User Input Matters

It helps you create dynamic programs like:
βœ”οΈ calculators
βœ”οΈ login systems
βœ”οΈ forms
βœ”οΈ interactive chatbots (πŸ‘€ like the one you're learning to build someday)


πŸ“ Mini Task

Ask the user for:

their name
their age
their country


Then print a sentence combining all three.

Drop your outputs! πŸ˜ŽπŸ‘‡

#day5
#python
#programming
#negafantech

πŸ’¬ Join the Telegram community πŸ”—
πŸŽ₯ Follow on TikTok πŸ”—
πŸ“Ί Watch on YouTube πŸ”—
πŸŽ‰ Question 1 Solution is Now Out! πŸŽ‰
πŸ‘‰ ASTU Python2 Final Exam Solutions

The video for ASTU Python Final Exam – Question 1 is now available!
πŸ”₯ Step-by-step explanation
πŸ”₯ Important points highlighted
πŸ”₯ Easy to follow

Watch it here: Q1 Solution
Make sure to watch, like, share, and subscribe to support the channel β€” more questions are coming! πŸš€

Stay tuned! πŸ’»πŸ“š

#python #astu #exam #solutions #negafantech
πŸŽ‰ Question on Dictionary Operations β€” Solution Video is Out! πŸŽ‰

We just uploaded the solution for the Python final exam question where we build a dictionary using a loop and store cubes of numbers! πŸ’»πŸ“š
If you're an ASTU freshman preparing for finals, don’t miss it β€” it’s explained step-by-step!
Make sure to Like, Share, and Subscribe to support the channel β€” more questions are coming! πŸš€

Watch it here
#python #astu #freshman #finalexam #solutions #negafantech
πŸŽ‰ ASTU Freshman β€” Python2 Final Exam Playlist is Here! πŸŽ“πŸ’»

Hey freshmen students!

The final exam is tomorrow! ⏰
I’ve created a complete Python2 ASTU Final Exam Solutions playlist with step-by-step walkthroughs of real exam questions. πŸ“βœ¨

πŸ‘‰ Check it out here

Boost your Python skills, and share with your friends so everyone is ready for tomorrow! πŸš€

#python #astu #freshman #finalexam #solutions #coding #programming #learnpython #negafantech
🐍 Day 7 β€” Operators in Python

Operators allow Python to perform actions such as calculations, comparisons, and logic-based decisions.


πŸ”Έ 1. Arithmetic Operators

Used for math

+   -   *   /   %   **   //



Example:

x = 10
y = 3
print(x + y) # 13


πŸ”Έ 2. Comparison Operators

Used to compare values (returns True/False)

==   !=   >   <   >=   <=



Example:

print(5 > 2)   # True


πŸ”Έ 3. Logical Operators

Used for conditions and decision-making

and   or   not


Example:

print(True and False)  # False


🧩 Mini Task


Ask the user for two numbers and print:

βœ”οΈ their sum
βœ”οΈ which one is greater


#day7
#python
#programming
#negafantech
πŸ₯°1