A simple Python project to check if a number is even or odd and calculate the sum of integers from 1 to 50. 1.Takes an integer input from the user. 2.Checks whether the number is even or odd using an ...
Takes an integer input from the user. Checks if the number is even or odd using an if-else statement. Displays the result accordingly. Task 2: Sum of Integers from 1 to 50 Uses a for loop to calculate ...