The document contains five Python code snippets for basic programming tasks. These tasks include finding the largest of three numbers, calculating the sum of numbers from 1 to 100, determining if a number is positive, negative, or zero, computing the sum and average of user-entered numbers, and grading a student based on their marks. Each snippet demonstrates fundamental programming concepts such as input handling, conditionals, loops, and arithmetic operations.
The document contains five Python code snippets for basic programming tasks. These tasks include finding the largest of three numbers, calculating the sum of numbers from 1 to 100, determining if a number is positive, negative, or zero, computing the sum and average of user-entered numbers, and grading a student based on their marks. Each snippet demonstrates fundamental programming concepts such as input handling, conditionals, loops, and arithmetic operations.