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
saul85 [17]
2 years ago
10

Write a method named addCommas that accepts a string representing a number and returns a new string with a comma at every third

position, starting from the right. For example, the call of addCommas("12345678") returns "12,345,678".

Computers and Technology
1 answer:
pentagon [3]2 years ago
6 0

Answer:

Locale unaware

'{:,}'.format(value) # For Python ≥2.7

f'{value:,}' # For Python ≥3.6

Locale aware

import locale

locale.setlocale(locale.LC_ALL, '') # Use '' for auto, or force e.g. to 'en_US.UTF-8'

'{:n}'.format(value) # For Python ≥2.7

f'{value:n}' # For Python ≥3.6

You might be interested in
To lose weight, you must _______.
sweet [91]

Answer:

B

Explanation:

because you need to exercise and eat or drink less calories

8 0
2 years ago
Read 2 more answers
Describe how you would define the relation Brother-in-Law whose tuples have the form (x, y) with x being the brother-in-law of y
damaskus [11]

Answer:

The expression is :

π[cd) + π(g,h) ],[π(e,f)+π(a,b)])

We will use foreign key and primary key

8 0
2 years ago
The first step when entering data is _
34kurt

Answer:

click on the cell

Explanation:

This is a little tricky. We need to first think of the column, then of row, and then click on the corresponding cell. And then we either start typing or move our mouse to highlight the cells. Hence, the correct option here is click on the cell.

3 0
2 years ago
Which of the following does NOT help a user navigate through a document?
FromTheMoon [43]

Answer:

Navigation Tabs

Explanation:

Navigation tab is used to switch between different pages that are shown in navigation tab. It is not used to navigate through the document.

Scroll bar is used to navigate through the document line by line. It has been shown on the right side of the document to move up and down the page.

Next page and previous page button used to navigate between pages of the documents.

7 0
3 years ago
A ____________object appears on a form as a button with a caption written across its face.
andrew-mc [135]

Answer:

Button is correct answer.

Explanation:

Button is the type of object that arrives on a form through the HTML Scripting Language. The programmer can use the button on the form for the submission of the page with the help of a button tag or input tag. They can also change the caption that is written on the button. So, that's why the following answer is correct.

4 0
3 years ago
Other questions:
  • Which software application should be used to create a sales pitch to a group of people? Database Email Presentation Word process
    9·1 answer
  • Your network has had long power outages that have caused Hyper-V servers to shut down after the UPS battery is drained. When pow
    8·1 answer
  • Using a single formatting _______ helps to make reading researched information easier; it lets the reader know what to expect.
    7·1 answer
  • With a DUI charge on a driver’s record ______________.
    10·1 answer
  • Where can we buy a cryptocurrency? from below options
    11·1 answer
  • It is important to know the terms of use of any website because why
    12·2 answers
  • Arrange the steps involved in natural language generation.
    9·1 answer
  • Explain the Decision making statement​
    15·1 answer
  • 1. Who was the first lady programmer?​
    14·2 answers
  • In your opinion, who is the best Mine.Craft player overall?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!