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
Valentin [98]
2 years ago
5

Which string method counts the number of characters in a string?

Computers and Technology
1 answer:
soldier1979 [14.2K]2 years ago
7 0
1) len() would do the trick, but it's not a method of the String class, it's a function that returns the number of items in a container.
2)<span> A. string_var[:6:2]
3) I'd expect to see the 4th and 5th characters of the string. Strings are zero indexed. None of the choices is correct.
4) </span><span>A. The pop() function</span>
You might be interested in
The Leal button is located in the
Fed [463]
The button is located on the left side of the gear shift right under the main shift button
7 0
2 years ago
Why is OS important in every data processing system? <br>Please Answer Fast! ​
Artist 52 [7]

Answer:

Functions of an operating system. An operating system provides three essential capabilities: It offers a UI through a CLI or GUI; it launches and manages the application execution; and it identifies and exposes system hardware resources to those applications -- typically, through a standardized API.

Explanation:

6 0
2 years ago
100 points !!! Some games fall under more than one category. For example, many racing games allow players to modify the cars the
Ugo [173]

Answer:

game 1: roblox, its not technically a game, however it contains game that could fall under more than one category. Game 2: Dungeons and Dragons could fall under role play and also adventure

Explanation:

7 0
3 years ago
Read 2 more answers
To place controls on a form in a stacked layout, select all the controls and click the stacked button on the ____ tab.
Sidana [21]
<span>To place controls on a form in a stacked layout, select all the controls and click the stacked button on the Arrange tab.  </span><span>The </span>Arrange<span> tab is located in the  </span>C1ReportDesigner<span>'s Ribbon menu and provides shortcuts to the Edit, Auto Format, Grid, Control Alignment, Position, and Size menu functions. </span>
3 0
3 years ago
A friend of Kenneth's invited him to a party but forgot to give him the address. Luckily, Kenneth is very organized and has two
gregori [183]

Answer:

Explanation:

The following code is written in Python and creates the function as requested in the question...

def phone2address(phonebook, addressBook, friendName):

   phoneNumber = phonebook.get(friendName)

   address = addressBook.get(phoneNumber)

   return address

The function uses the dictionary (phonebook) to look for the friendName input as the key and then saves the phone number attached to that name in a variable called phoneNumber. Then we use that variable to search the addressBook dictionary to find the associated address and save it to the address variable. Finally, we return that address.

4 0
2 years ago
Other questions:
  • You install an M.2 SSD card in an M.2 slot on a motherboard. When you boot up your system, you discover the DVD drive no longer
    15·1 answer
  • One of the most common uses of spreadsheet programs are communicating with others. O editing images and photos. O tracking and m
    8·2 answers
  • What does Pentium means?:/
    7·2 answers
  • Why is plastic durable?
    9·2 answers
  • Has anyone on here heard from lilkoadkmillines?
    10·1 answer
  • [C++ for array week|
    8·1 answer
  • Plz..... Add the following Binary numbers 1. 111000 + 1100 + 111111​
    6·1 answer
  • Write a statement that slices a substring out of the string quote and puts it into a variable named selection. If given the stri
    8·1 answer
  • Question 1 Which portion of the PuTTY package allows you to perform file transfers using the SCP (Secure Copy) protocol?
    12·1 answer
  • Which of the following makes Super Mario Run unique?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!