Saturday Questions: 23-Sep-2023




1. Write a Python function to find the factorial of a given integer using recursion.

2. Implement a Python program that takes a list of numbers as input and returns the sum of all even numbers in the list.

3. Create a Python class representing a simple bank account. Include methods for depositing and withdrawing money, and for checking the account balance.

4. Write a Python program that reads a json file and counts the frequency of each word in the file.

5. Implement a Python function that checks if a given string is a palindrome (reads the same forwards and backwards) while ignoring spaces and punctuation.


Contact us for software training, education or development










 

Post a Comment

0 Comments