Print Asap
Print Asap
Vowel_count = 0
Consonant_count = 0
Vowel = set(“aeiouAEIOU”).
If alphabet in vowel:
Vowel_count += 1
Consonant_count = consonant_count
Else:
Consonant_count += 1
Uppercase_count = 0
Lowercase_count = 0
If elem.isupper():
Uppercase_count += 1
Elif elem.islower():
Lowercase_count += 1
QUESTION NUMBER 10
Reversed_str = “”
Reversed_str += element
If input_str == reversed_str:
Else:
QUESTION NUMBER 11
List1 = []
List1.append(element)
QUESTION NUMBER 12
Mylist = []
For I in range(5):
Value = int(input())
Mylist.append(value)
Odd_i = []
Even_i = []
For I in range(len(mylist)):
If I % 2:
Even_i.append(mylist[i])
Else:
Odd_i.append(mylist[i])
Result = odd_i + even_i
# Print result
QUESTION NUMBER 13
Mylist = []
For I in range(5):
Value = int(input())
Mylist.append(value)
For I in range(5):
If element == mylist[i]:
QUESTION NUMBER 14
# Create empty list
Mylist = []
For n in range(number):
Mylist.append(element)
QUESTION NUMBER 15
Result = {}
For I in range(no_of_std):
Print(result)
Print(result[student][0])