1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
laila [671]
4 years ago
11

in python Write a loop that counts the number of lowercase characters that appear in the string referenced by mystring.

Computers and Technology
1 answer:
exis [7]4 years ago
5 0

Answer:

mystring = "My name is David Acheme"

count = 0

for i in mystring:

    if(i.islower()):

        count=count+1

print("The number of lowercase characters in: "+mystring)

print(count)

Explanation:

1. We declare a String Variable and assign a value.

2. Intialize a count variable to zero.

3. Using a for loop is to loop through each characters in the string.

4. The if condition checks when a lower case character is encountered using the islower method and increases count by 1

5. Prints the value of count.

You might be interested in
The blue bar across the top of the screen informs you of the Screen Title, or what step you are on.
xeze [42]

Answer:

true

Explanation:

5 0
3 years ago
It is used to replace numeric number of a website​
vampirchik [111]

greatflombles or gr8flombles or go2flombles

5 0
4 years ago
Which type of document should Omar print?
Zinaida [17]

Well it depends on the topic he is doing. if it is a list then a plain doc with a list of numbers. if he is writing a letter then he should use the letter template.

7 0
3 years ago
Read 2 more answers
A malfunction in one computer will not crash this network topology.(multiple answer)
navik [9.2K]
The answer is c: partial mesh
4 0
3 years ago
A measure of the twisting or rotational force that an engine can produce is called
Snowcat [4.5K]
The correct answer is torque.

Torque
A twisting force that tends to cause rotation, commonly used term among mechanics and engineers.
7 0
3 years ago
Other questions:
  • Your crt monitor flickers. what should you do
    6·1 answer
  • Does any one have 2 reasons it would be a good idea to have a glow in the dark TV.
    5·1 answer
  • What includes two or more private, public, or community clouds, but each cloud remains separate and is only linked by technology
    7·1 answer
  • Help pls. Computer basics.
    5·2 answers
  • List three examples of telescopes that detect different types of electromagnetic radiation?
    11·1 answer
  • What are workplace human relations
    10·1 answer
  • If an image has only 4 colors, how many bits are necessary to represent one pixel’s color? Describe a new custom encoding that u
    8·1 answer
  • Demonstrate the register addressing mode for the following instructions. Also what addressing mode belongs to these instructions
    11·1 answer
  • USE THIS CODE ON FETCH REWARDS FOR BRAINLIEST​ Also I will be doing a gift card giveaway for the ppl that use my code ​
    6·2 answers
  • What will be the code in CSS, to set
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!