Write a Python program that accepts a string and calculates the number of uppercase letters and lowercase
Question:
Write a Python program that accepts a string and calculates the number of uppercase letters and lowercase letters in the string.
Write a Python program that accepts a list of numbers and returns the sum of all the even numbers in the list.
Write a Python program that accepts a list of strings and returns the longest string in the list.
Write a Python program that accepts a list of numbers and returns a new list containing only the numbers that are divisible by 3.
Write a Python program that accepts a string and checks whether the string is a palindrome or not.
Write a Python program that accepts a list of numbers and returns the second largest number in the list.
Write a Python program that accepts two strings and checks whether they are anagrams or not.
Write a Python program that reads a text file and counts the number of occurrences of each word in the file.
Write a Python program that accepts a list of integers and returns the product of all the numbers in the list.
Write a Python program that generates a random password of length 8, consisting of uppercase letters, lowercase letters, and digits.
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch