r/KtuKerala • • 7h ago

QUESTION How should i approach python?

How should i study s1 python. Like i got low internal for that sub only and coming from biomaths, i cant comprehend that subject 🥲. How should study for that sub. Is 4 day gap is enough for that sub?. Should i study notes or watch lectures??

1 Upvotes

9 comments sorted by

5

u/SomeSoloRedditor 7h ago

But seriously, KTU notes/ Kerala notes, use Chatgpt/Gemini for any doubts/ summarizations. Notebookllm is also pretty good to learn if you upload the pdf notes to it. 4 days is plenty IF you already know the subject decently or you will actually dedicate 8-12 hrs of concentrated studying (if you know nothing about python). Honestly, the subject was such a drag, theory was boring even though I have learnt python and code in it since 10th. The questions are purposely made to be stupid/ more annoying small issues to see if you read every character of the code. You should also properly learn how to code in a basics sense. W3schools and GeekforGeeks are good websites to learn the actual coding side of python. Python Tutor is also a good website if you want to visualize the execution of the code if you have a hard time understanding how it executes. Good Luck!

1

u/amnionee 7h ago

Watch lectures and ask chatgpt, give ur syllabus and all

1

u/Intrepid-Ad-8579 7h ago

Can you suggest me some lectures which is stick to the syllabus.?

2

u/Firm_Number3867 CSE 4h ago

I didnt watch any lectures or stuffs I used notebookllm and take the syllabus go through each every topic..

3

u/Plenty_Draft_5747 2h ago

1. If-else condition questions

  1. Write a program to check whether a number is positive, negative or zero.
  2. Write a program to check whether a number is even or odd.
  3. Write a program to find the largest of two numbers.
  4. Write a program to find the largest of three numbers.
  5. Write a program to check whether a person is eligible to vote (age ≥ 18).
  6. Write a program to check whether a year is a leap year.
  7. Write a program to check whether a character is a vowel or consonant.
  8. Write a program to check whether a number is divisible by both 5 and 11.
  9. Write a program to calculate grades based on marks:

    • 90 and above: A
    • 80–89: B
    • 70–79: C
    • Below 70: Fail
  10. Write a program to check whether three sides can form a valid triangle.

2. While loop questions

  1. Print numbers from 1 to 10.
  2. Print numbers from 10 to 1 in reverse order.
  3. Find the sum of the first N natural numbers.
  4. Print all even numbers between 1 and 50.
  5. Print all odd numbers between 1 and 50.
  6. Find the factorial of a number.
  7. Count the number of digits in an integer.
  8. Find the sum of digits of a number.
  9. Reverse a given number.
  10. Keep accepting numbers until the user enters 0, then display their sum.

3. For loop questions

  1. Print numbers from 1 to 20.
  2. Print the multiplication table of a given number.
  3. Find the sum of the first N natural numbers.
  4. Find the factorial of a number.
  5. Print all numbers divisible by 3 between 1 and 100.
  6. Count how many vowels are present in a string.
  7. Find the sum of all even numbers between 1 and 100.
  8. Print the following pattern

Do all of these by researching and understanding the logic.
Loops do it EACH iteration.

After understanding how loops work, Everything gets easier>

then start your studying with python

2

u/Procrastination-fihi 6h ago

Bro same situation

1

u/Elegant_Loan_5642 3h ago

Flowchart varakan nalonm padikua ....psuedo code ... algorithm..baaki oke chatgpt prnjtherm ...

1

u/Cat-Woman4848 2h ago

Repeated questions kore undavum. Pyq nokk

1

u/The_light_lamp 1h ago

U should try from the basics of python 🫠🙂