B.Tech I Year II Sem
Python Programming Lab
Every week of the JNTUH R22 Python Programming lab, with the aim, algorithm, code, real output, common mistakes and viva questions.
Python38 experimentsJNTUH R22 · CS206ESUpdated
Week 1
Week 2
Week 3
Week 4
- 14Check if a list is sorted using a function
- 15Check if a list has duplicates using a function
- 16Remove duplicates from a list using a function
- 17Add single-letter words and the empty string to a word list
- 18Invert a dictionary read from the user
- 19Add a comma between the characters of a word
- 20Remove a given word from all places in a string
- 21Capitalize the first letter of every word without built-in functions
- 22Generate all binary strings of n bits using recursion
Week 5
Week 6
Week 7
Week 8
Writing your lab record
- Aim: one sentence saying what the program does.
- Algorithm: the steps in plain words, before any code.
- Program: the code you wrote and ran yourself.
- Output: the output from your own run, with your own sample input.
Use these pages to check your understanding and your output, then write the record in your own words.
Experiment list from the official JNTUH R22 B.Tech CSE syllabus (course CS206ES, pages 29–30). Laviyx Learn is not affiliated with JNTUH. Your college may add or change experiments, so check your own lab manual too.