subject

The function below takes one parameter: a string (full_name) consisting of words separated by whitespace. make an acronym from the words by making a new word by selecting the first letter of each word, and then capitalizing the new word. for example, if given the string 'international business machines', your function would return 'ibm'.

to implement this, split the given string to get a list of strings (one string per word). iterate through the words, building a string from the first letters of each word. then convert the result to upper case letters using the upper() function.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:20, shiann2002
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
image
Computers and Technology, 23.06.2019 03:50, dondre54
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
image
Computers and Technology, 23.06.2019 12:20, jshhs
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
image
Computers and Technology, 23.06.2019 20:30, cristalcastro901
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
You know the right answer?
The function below takes one parameter: a string (full_name) consisting of words separated by white...

Questions in other subjects:

Konu
Mathematics, 13.10.2020 14:01
Konu
Mathematics, 13.10.2020 14:01
Konu
Computers and Technology, 13.10.2020 14:01