If Else మీధ ఎక్కువగా అడిగేకోడింగ్ ప్రశ్నలు | Coding questions on IF Else Statement

Опубликовано: 11 Июль 2026
на канале: Tech Thoughts Telugu TTT
37
2

Coding questions on IF Else Syntax | Python Tutorials in Telugu | Python in Telugu | Python for

Introduction to programming with Variable and Datatypes MCQS| Python Full Course in Telugu | Python Tutorials in Telugu | Python in Telugu | Python for Beginners

KeyTakeaways:-
Modulus Operator
If Else statement problems

`### 1. *Even or Odd*
*Problem:* Write a Python program that takes an integer input and checks if it is even or odd.
*Example:*
```python
Input: 5
Output: Odd
```

2. *Positive or Negative*
*Problem:* Write a program that takes a number as input and checks whether it is positive or negative. If the number is zero, consider it as positive.
*Example:*
```python
Input: -10
Output: Negative
```

3. *Divisibility Check*
*Problem:* Write a program that takes an integer input and checks if it is divisible by 5. If not, print "Not divisible by 5."
*Example:*
```python
Input: 20
Output: Divisible by 5
```

4. *Number Comparison*
*Problem:* Write a program that takes two numbers as input and prints "Equal" if they are equal, otherwise prints "Not Equal."
*Example:*
```python
Input: 10, 10
Output: Equal
```

5. *Check If Number Is Zero*
*Problem:* Write a program that takes a number as input and prints "Zero" if it is zero, otherwise print "Non-zero."
*Example:*
```python
Input: 0
Output: Zero
```

6. *Adult Check*
*Problem:* Write a program that takes a person's age as input and prints "Adult" if the age is 18 or older, otherwise prints "Not an Adult."
*Example:*
```python
Input: 20
Output: Adult
```

7. *Pass or Fail*
*Problem:* Write a program that takes a student's score as input and prints "Pass" if the score is 40 or above, otherwise prints "Fail."
*Example:*
```python
Input: 35
Output: Fail
```

8. *Temperature Check*
*Problem:* Write a program that takes a temperature value as input and prints "Above Freezing" if the temperature is above 0°C, otherwise prints "Freezing or Below."
*Example:*
```python
Input: -5
Output: Freezing or Below
```

#
### 9. *Non-Empty String Check*
*Problem:* Write a program that takes a string as input and prints "Non-empty" if the string is not empty, otherwise prints "Empty."
*Example:*
```python
Input: ""
Output: Empty






Tags:
python in telugu, python for beginners in telugu, python for beginners, python full course in telugu, python telugu, python tutorial for beginners, python tutorial telugu, python telugu tutorials, python,python interview questions in telugu, learn python in telugu, python tutorial in telugu, telugu computer world python, telugu python language, python tutorial, python full course, python course, coding for beginners in telugu, python tutorials in telugu

Any Doubts DM in Instagram:-
/ prashpython. .

#PythonForBeginners
#TeluguProgramming
#LearnPythonInTelugu
#ProgrammingBasics
#pythonintelugu
#pythonlearning
#pythonprogramming


Python Full Course in Telugu | Python Tutorials in Telugu | Python in Telugu | Python for Beginners
   • Python Full Course in Telugu | Python Tuto...  

Python Introduction Part-1 MCQS | Python Full Course in Telugu | Python Tutorials in Telugu | Python
   • Python Introduction Part-1 MCQS | Python F...  

Python Full Course in Telugu | Python Tutorials in Telugu | Python in Telugu | Python for Beginners
   • Python Full Course in Telugu | Python Tuto...  

Introduction to programming with Variable and Datatypes | Python Full Course in Telugu | Python Tuto
   • Introduction to programming with Variable ...  

Introduction to programming with Variable and Datatypes MCQS | Python Full Course in Telugu | Python
   • Introduction to programming with Variable ...  

Introduction to programming with Variable and Datatypes Coding |Python Full Course in Telugu |Python
   • Introduction to programming with Variable ...  

Introduction to programming with Variable assigning and Expression with BODMAS | Python Telugu
   • Introduction to programming with Variable ...  

Introduction to programming with Variable and Datatypes MCQS | Python Full Course in Telugu | Python
   • Introduction to programming with Variable ...  

I/O Basics in Python | String concatenation| String repetition | Python Full Course in Telugu
   • I/O Basics in Python | String concatenatio...  

I/O Basics in Python | Taking input from user | Indexing | Python Full Course in Telugu | telugu
   • I/O Basics in Python | Taking input from u...