(Find the number of uppercase letters in a string) Write a recursive function to return the number of uppercase letters in a string using the following function headers: def countUppercase(s): def countUppercaseHelper(s, high): Write a test program that prompts the user to enter a string and displays the number of uppercase letters in the string.

Answers

Answer 1
def countUppercase(s):
count=0
for i in s:
if i.isupper():
count+=1
s=s.replace(i, "")
else:
s=s.replace(i, "")
countUppercase(s)
return count

element=input("Enter the string: ")
string=countUppercase(element)
print("\nNumber of upper letter in the string: ",string)
(Find The Number Of Uppercase Letters In A String) Write A Recursive Function To Return The Number Of

Related Questions

Get the user to enter some text and print it out in reverse order.

Answers

Answer:

strrev in c/c++

Explanation:

(50 POINTS)
Write a repl program that does the following....
Asks the user to input their score for their science test (out of 100),
If the score is less than or equal to 50, print ("You failed, I think you need to study more"),
Elif the score is greater than 50, print ("You passed, well done!").
Else print, you have not selected the right number
Note that this does not need to be in a loop.

Answers

Answer:

nope ;v

Explanation:

Which part of the computer is responsible for managing memory allocation for all applications


A. Word processor


B. Operating system


C. Web browser


D. Intergrated development environment


I think it’s B but I’m not sure so I want to see if I’m right before answering

Answers

Answer:

Option B

Explanation:

The operating system is the type of software that is responsible for managing the processor time and also the memory allocation in the system. The operating system mainldeals with the processor time by scheduling the processor work done in the system.

The OS mainly controls the system and then schedule the execution of various types of function by the central processing unit (CPU). It also controls the memory allocation in the system.

The part of the computer responsible for managing memory allocation for all applications is the operating system. The correct option is B.

What is an operating system?

The operating system is the kind of software in charge of controlling the system's memory allocation and CPU usage. By scheduling the system's processor work, the operating system primarily manages processor time.

The operating system (OS) primarily manages the system and schedules the central processor unit's performance of many types of functions. Additionally, it manages the system's memory allocation.

The CPU is the brain of the computer. It manages all the functions of the computer. It is a small rectangle chip-like structure present inside the box with other parts.

Thus, the part of the computer that is responsible for managing memory is the operating system. The correct option is B.

To learn more about the operating system, refer to the link:

https://brainly.com/question/6689423

#SPJ2

A wireless ________ extender is a network device that enhances transmission of your wireless signal.

Answers

Explanation:

A wifi range extender,sometime called a range expander,is type of wireless repeater used to exten wifi range.

you cannot create a folder within a folder true or false ​

Answers

HI THERE !!

the answer is false :))

correct me if I'm wrong

Answer:

true

Explanation:

Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000.

Answers

if (sales >= 10000)
commission = 0.2;

How have you seen technology transform in your own life? What was the oldest computer or device you remember using? How does this compare to the machines you use today? What was your favorite piece of tech that is no longer popular or in common use? What are some modern benefits you're grateful for? Share your own "history of computing" with your fellow learners!

Answers

I am greatly opportuned to live in a time an era where technology is prevalent and constantly evolving, I have also experience technological changes in my life in the areas of learning because  I browse about questions a lot.

What was the oldest computer or device you remember using?

I can remember using a Nokia 3310 but now I use an iPhone 11 pro max

How does this compare to the machines you use today?

The difference in the Nokia 3310 mobile and my current iPhone 11 pro max goes a long way to describe the evolutionary changes in technology, my iPhone 11 pro max is a smart phone with a lot of feature not present in my old Nokia 3310.

What was your favorite piece of tech that is no longer popular or in common use?

My favourite piece of tech no longer in use today is the typewriter, I like it because of the sound from the key when I am typing, it is more like typing and have fun at the same time.

What are some modern benefits you're grateful for?

I am most grateful for the Internet because it is a repository for knowledge, I learn and collaborate everyday using the Internet.

Learn more how the history of computer:

https://brainly.com/question/485705

Role and responsibility of an IT professional

Answers

create the computer, network, and communication systems that an organization needs

5. What is intellectual property? (1 point)
Brainliest if correct

Answers

Answer:

intangible property that is the result of creativity, such as patents, copyrights, etc.

Please mark as brainliest

Answer:

A creative work of an invention, designs or names and images used in commerce.

Making data secure means keeping it secret

Answers

Answer:

Data security refers to the process of protecting data from unauthorized access and data corruption throughout its lifecycle. Data security includes data encryption, hashing, tokenization, and key management practices that protect data across all applications and platforms.

Type the correct answer in each box. Spell all words correctly, and use numerals instead of words for numbers. If necessary, use / for the fraction bar(s). What is the hexadecimal equivalent of the decimal number 125.28? The hexadecimal equivalent of the decimal number 125.28 is

Answers

Answer:

125.28₁₀ in hexadecimal = 7D.47AE147AE1₁₆

Step-by-Step Explanation:

To convert decimal number 125.28, we convert its integer and fraction part individually and then add them to get the equivalent hexadecimal number, as below:

To convert integer 125 to hexadecimal, follow these steps:

Divide 125 by 16 keeping notice of the quotient and the remainder. Continue dividing the quotient by 2 until you get a quotient of zero.

Then just write out the remainders in the reverse order to get the equivalent hexadecimal number.

125 / 16 = 7 with remainder 13 (D)

7 / 16 = 0 with remainder 7

Here is the answer to 125 decimal to hexadecimal number:

7D

For converting decimal fraction 0.28 to hexadecimal number, follow these steps:

Multiply 0.28 by 16 keeping notice of the resulting integer and fractional part. Continue multiplying by 16 until you get a resulting fractional part equal to zero (we calcuclate upto ten digits).

Then just write out the integer parts from the results of each multiplication to get equivalent hexadecimal number.

0.28 × 16 = 4 + 0.48

0.48 × 16 = 7 + 0.68000000000001

0.68000000000001 × 16 = 10 (A) + 0.88000000000011

0.88000000000011 × 16 = 14 (E) + 0.080000000001746

0.080000000001746 × 16 = 1 + 0.28000000002794

0.28000000002794 × 16 = 4 + 0.48000000044703

0.48000000044703 × 16 = 7 + 0.68000000715256

0.68000000715256 × 16 = 10 (A) + 0.88000011444092

0.88000011444092 × 16 = 14 (E) + 0.080001831054688

0.080001831054688 × 16 = 1 + 0.280029296875

Here is the answer to 0.28 decimal to hexadecimal number:

0.47AE147AE1

Therefore, decimal number 125.28 converted to hexadecimal is equal:

7D.47AE147AE1

Write a program that asks the user for his or her name, then asks the user to enter a sentence that describes himself or herself. The program should ask for a destination file to save as the last question.

Answers

Answer:

there was a type of user name and sentences

Which bits of the address would be used in the tag, index and offset in a two-way set associative cache with 1-word blocks and a total capacity of 512 words

Answers

size of block = 1 word = 8 bytes

number of blocks = size of cache / size of word

= 512 word /1 word = 512 blocks

In a two-way set associative cache, 2 blocks will form 1 set. So number of index = 512/2=256=2^8

Size of offset = 3 bits

size of index = 8 bits

Size of tag = 64-11=53 bits


Which source would provide the best way to find valid information about climate change

Answers

Primary sources would be best

The primary source would provide the best way to find valid information about climate change.

What is Climate change?

Climate change may be defined as the change in the average conditions such as temperature and rainfall in a region over a long period of time. In more simple words, climate change refers to the long-term shifts in temperatures and weather patterns.

The burning of fossil fuels like coal, oil, and gas for electricity, heat, and transportation is the primary source of human-generated emissions. A second major source is a deforestation, which releases sequestered (or stored) carbon into the air.

Both of these sources are significantly responsible for the causation of climate change in the specific region over a long period of time.

Therefore, the primary source would provide the best way to find valid information about climate change.

To learn more about Climate change, refer to the link:

https://brainly.com/question/24793273

#SPJ2

Capstone Project part 11 quiz

What is the following code snippet checking? (1 point)
while response != "yes":

Othat response variable is not yet yes

O that response variable is yes

O if "yes" is indexed in an array for the variable "response"

O if the response variable is "no"



If you give all answers you will have an amazing Christmas!

Answers

It is checking if the response is not yet yes

Briefly the conceptual model of effective computer based instruction for adults outlining three units (output, Process and input )

Answers

but I think it’s output

What is information technology in relation to computers

Answers

Answer:

Information technology (IT) is the use of any computers, storage, networking and other physical devices, infrastructure and processes to create, process, store, secure and exchange all forms of electronic data. ... The commercial use of IT encompasses both computer technology and telecommunications.

Answer:

Information technology (IT) is the use of any computers, storage, networking and other physical devices, infrastructure and processes to create, process, store, secure and exchange all forms of electronic data.

Explanation:

Hope this helps

Questions Description Explain how you will identify and use texts according to the function you wish for it to serve in the particular industry​

Answers

The texts have different purposes that can be identified with the following tips:

Identify the main ideas. Identify the author's purpose.

What is a text?

A text is a term to refer to the set of phrases and words ordered coherently to be interpreted and to transmit the ideas of an author (emitter or speaker).

Texts can have a variety of topics depending on the author's intention. For example:

Scientific texts: They are the texts that have the purpose of sharing scientific information with exact data and results of experiments or others. Literary texts: They are the best known texts that stand out for including a diversity of topics, they are characterized by telling an in-depth story. News texts: They are the texts that expose all the details of a news story and have the purpose of objectively reporting.

According to the above, to identify a text it is necessary to read it and identify the main ideas and the purpose of its author when writing it. Additionally, the texts are tools for different professions to teach skills, knowledge and techniques depending on the requirement.

Learn more about text in: https://brainly.com/question/1142673

Define technical writing. The proposal introduces the ……. (5 Mark)

a) Results b) Objectives c) Researcher d) None of the previous

Answers

Answer:

B.objective

#carryonlearning

True or False. The 'C' programming language guarantees that R0 will always contain a zero value on the ATmega328P

Answers

Oh I had this question once and I think it was true!! Hope this helps! Merry Christmas!!

A certain microprocessor requires either 2, 4, 8, 12, or 16 machine cycles to perform various operations. Seventeen and one-half (17.5) percent of its instructions require 2 machine cycles, 12.5% require 4 machine cycles, 35% require 8 machine cycles, 20% require 12 machine cycles, and 15% require 16 machine cycles. What is the average number of machine cycles per instruction for this microprocessor

Answers

The answer is 8.45

since (17.5*2+12.5*4+35*8+20*12+15*16)/100 = 8.45

What term would be a catch-all that would cover both visual novels and text adventures?
virtual reality games
interactive fiction
simulation
puzzle

Answers

I think the answer to this is interactive fiction

Shell Scripting:

In the following statement, X is the initial value:

for (( X = N; X <= Y; X++ ))
True or False

Answers

True because if x sucks x then Y will spill juice cream team juice what how ….its true.

Shell scripts are most useful for repetitive tasks that would take a long time to accomplish if entered one line at a time. A few examples of uses for shell scripts are as follows: automating the process of code compilation. Programming or setting up a programming environment. Thus, it is true.

What role of Shell Scripting in programming?

You can access the Unix system through a Shell. It leverages the input you provide to execute programs. Once a program has finished running, its output is shown. In the shell environment, we may run our commands, applications, and shell scripts.

Programmers do not need to switch to a completely other syntax because the command and syntax are precisely the same as those placed directly on the command line.

Therefore, it is true that Shell scripts may be created considerably more quickly. Rapid start interactive bug-fixing.

Learn more about Shell Scripting here:

https://brainly.com/question/29625476

#SPJ2

What should you look out for when choosing snacks that seem healthy? How can you make sure that the snacks you are choosing are actually healthy?

Answers

Answer:

You can make sure that the snack is healthy by looking at the ingreadents. A healthy snack should not have alot of persavatives and sugars. A good golden rule is if you can't pronaunce the word then its not good for you.

Explanation:

different types of programming languages​

Answers

the main types are machine language, assembly language and high level language

Answer:

At the time of writing, some of the top programming languages include: 

C

Java 

Python

C++

C# 

Visual Basic 

JavaScript

PHP

SQL

Assembly language

R

Groovy 

Which of the following is not an Error Style for data validation?

Answers

Based on the Microsoft Excel data validation, the option that is not an Error Style for data validation is the choice that does not show an error alert.

Given that there is no option available, the best way to answer this question is to show the types of Error Styles for data validation available.

Different types of Error Style for data validationStop style: this will bring the option of "Retry, " "Cancel, " and "Help."

Warning style: this will show "Continue," with options of "Yes," "No," "Cancel," and "Help."

Information Style: this will ask you to input the whole number with the option of "Ok," "Cancel," and "Help."

Hence, in this case, it is concluded that the Error Style for data validation is Stop, Warning, and Information Style.

Learn more about Error Style for data validation here: https://brainly.com/question/18497347

Which of the four factors of production are hit the hardest when high unemployment occurs ?

Answers

Answer:

Economic growth,cyclical and structural factors, demographics, education and training

Explanation:

.........

Here’s my last question

Answers

Answer:

Can't find it lolol

Explanation:

Where?

I’m bored too … hey

Can someone help me do this who ever does it first get 100 points :)

Answers

Answer:

Wired: Means a cable or a wire connected thats the opposite of wireless.

Wireless is bascially a device with no cable needed.

3G: GB

4G: GB

5G: GB

Explanation:

Wired: Means a cable or a wire connected thats the opposite of wireless.

Wireless is bascially a device with no cable needed.

3G: GB

4G: GB

5G: GB

Write a program that:
a) Inputs TWO numbers and finds the average of both numbers, only if BOTH numbers are less than 100

Answers

Answer:

num1 = int(input("Enter number 1: "))

num2 = int(input("Enter number 2: "))

if num1 < 100 and num2 < 100:

   newnum = num1 + num2

   finalnum = newnum // 2

elif num1 >= 100 or num2 >= 100:

   print("Invalid input.")

else:

   pass

Explanation:

Gg ez.

(I assumed the language was python. Next time, put what programming language you want it to be in.)

Other Questions
5. A ball is shot directly into the air vertically with aninitial velocity of 49.7 m/s. What is the velocity of theball after 3 seconds?a. 3.4 m/sb. 20.3 m/sc. 12.4 m/sd. 202.0 m/s Why does an increasing population causeincreased waste production?A. decreased food productionB, each new person creates more wasteC. each new person creates less wasteD. decreased resource use How do i get a fever so i can skip school. :'') Which of the following tables represents a function?X 6 6 7 7y 2 -2 3-3x 2-2 3-3y 5 5 7 7x 3 -3 3-3y 6 7 8 9X 4 4 5 5y 1 2 3 4 radius=12 round up to the nearest tenth Welcome to Gboard clipboard, any text you copy will be saved here. 9. History tells us about the literature, religion, art and architecture of a A. -5B.-1/5C.1/5D.5 Luis has $4.00 from his allowance. He visits an arcade where soda costs $0.75 and video games cost $0.25. Which of the following expressions represents the amount of money Luis will have left if he buys one soda and plays "g" video games? *5 points4.00 - 0.25 - 0.75g4.00 + 0.75 + 0.25g4.00 - 0.75 - 0.25g4.00 - 0.25 + 0.75g While shopping at his local home improvement store, Chen noticed that the directions for an extension ladder state, This ladder is most stable when used at a 60 angle with the ground. He wants to buy a ladder to paint a two-story house. How long does his ladder need to be in order to reach the top of the house if the house is 27 feet tall? Which of the following identifies an error in Mathus' theory?A. A famine caused food production to fall instead of grow as Malthus predicted. B. The population grew much more than Malthus predicted. C .A war reduced the population size instead of growing as Malthus predicted. D. Food production grew much more quickly than Malthus predicted.E. The population remained steady and did not grow as Malthus predicted. What is the Square root of -18 How are NAFTA, the EU, and ASEAN similar The following is a conversion table for hours and minutes. Which numbers belong in the hours column?1, 2, 31, 2, 42, 3, 42, 5, 6 illustrate the role of the people in Nepal's unification campaign in brief? In solving the following system of equations, what would you multiply by in order to eliminate the y? Equation 1: x + y = 7 Equation 2: 5x + 2y = 8 A. 0B. -5C. -2D. 2E. 5Give the solution to the system aboveA. (7, 0) B. (1, 6) C. ( 8, - 1) D. ( 3, 4) E. ( -2, 9) 3. If oxygen is unavailable to the cell...A. glycolysis will proceed directly into the Kreb's Cycle, then the Electron Transport ChainB. glycolysis will proceed directly to the Electron Transport Chain, bypassing the Kreb's CycleC. glycolysis will proceed into either lactic acid or alcoholic fermentationD. glycolysis will not be able to occur; the cell will be unable to make ATPmy guess is C A car travels 18 miles on a gallon of gas. The car used 65 gallons of gas last week.compute the number of miles the car traveled? A rectangular pool has a length of4x + 7 feet and a width of 15x - 2 feet. Whichexpression represents the perimeter of thepool? Gel electrophoresis allows molecules to migrate along the gel at different rates by using: