Computers and Technology, 08.09.2020 14:01 claytonhopkins
What is wrong in this code?
My objective is to derive a function that prints the no of lowercase characters and uppercase characters.
I tried to find out but couldn't find out please help
def determine_upper_lower(value):
upper_case = 0
lower_case = 0
for i in value:
if i. isupper():
upper_case = upper_case + 1
elif i. islower():
lower_case = lower_case + 1
result = 'the number of uppercase letters are ' + str(upper_case) + ' and the number of lowercase letters are ' + str(lower_case)
return result
sample_string = 'Quick brown fox jumped over the lazy Dog'
print(determine_upper_lower(sample_ string))
Answers: 3
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
Computers and Technology, 24.06.2019 18:50
Which style did jack use on the vocabulary words in reports?
Answers: 2
What is wrong in this code?
My objective is to derive a function that prints the no of lowercase ch...
Mathematics, 11.11.2020 18:50
English, 11.11.2020 18:50
Mathematics, 11.11.2020 18:50
Social Studies, 11.11.2020 18:50
English, 11.11.2020 18:50
Mathematics, 11.11.2020 18:50
English, 11.11.2020 18:50
English, 11.11.2020 18:50