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
stira [4]
3 years ago
10

In Python, the ‘+’ operator can be used with numbers and with strings. What is a property that number addition has, but string c

oncatenation does not?
Computers and Technology
1 answer:
Natali [406]3 years ago
5 0

Answer:

Answered below

Explanation:

The property in number addition that is not found in string concatenation, although both use the '+' operator, is that in number addition, the expression value does not depend on the order of the numeric addition operands. Any order of arrangement of the operands produces the same value when they are added.

This is not so in string concatenation because different orders or the arrangement of different strings on concatenation, produce different results or values. For instance, the concatenation of 'He is a' + 'boy' results in 'He is a boy' whereas reversing the placements of both strings would result in a totally different value. This is not so in number addition where 4 + 2 gives the same value as 2 + 4.

Therefore the use of the '+' operator with string concatenation and with numerical additions produce different expression values where one depends on the order and one does not.

You might be interested in
What was the original intention for the creation of ARPANET?
Anika [276]

ARPANET was the network that became the 'basis' for the Internet. It was based on a concept first published in 1967. It was developed under the direction of the U.S. Advanced Research Projects Agency (ARPA). In 1969, the idea became a modest reality with the interconnection of four university computers.

3 0
3 years ago
Read 2 more answers
Archie wants to optimize an XFS filesystem and minimize the chance of future corruption. Which of the following commands will co
svlad2 [7]

Answer:

The best answer is "B"

xfs_fsr

Explanation:

The is a typical format of the command to use:

xfs_metadump -o /dev/sdb1 /reviewxfs

6 0
3 years ago
Read 2 more answers
Which recorder is least recommended in automation anywhere?
raketka [301]
<h2>Answer:</h2>

<u>Screen recorder</u><u> is the least recommended one</u>

<h2>Explanation:</h2>

There are three types of recorders. They are Smart Recorder, Web Recorder and Screen or sometimes called Standard Recorder. Smart Recorder is used for desktop applications while Web recorder is used for Web-based applications. The least recommended one is Screen Recorder which is used for building simple tasks that involves few mouse clicks and keystrokes. It works by capturing screen co-ordinates and therefore, no calibration is taken into account. It is generally used when you plan to run the task on the same machine on which, it was recorded.

4 0
3 years ago
Read 2 more answers
What is a key consideration when evaluating platforms?
kotegsom [21]

Answer:

The continuous performance of reliability data integrity will lead to the benefit and profit of the platform's regular structure changes. Cleanliness in the platform whereas addresses the straightforward structure of task performance and adequate data integrity.

7 0
3 years ago
After you create an array variable, you still need to ____ memory space.
Svetllana [295]
This is a little tricky. I would say reserve. It would help to know what programming language and class this is for because a lot of times when you create an array variable the memory is put onto the stack and you as the programmer do not reserve memory space. Now on the other hand, if you are programming in C and you want to create an array variable and put it on the heap then you would reserve memory space on the heap.
6 0
4 years ago
Other questions:
  • What is the answer to this?
    9·1 answer
  • Prove that for every nfa with an arbitrary number of final states there is an equivalent nfa with only one final state. Can we m
    8·1 answer
  • Which is an example of a screenshot?
    7·2 answers
  • What is the role of programmers in an organization?
    6·1 answer
  • What is a strictly layered pattern, provide an example of its usage.
    13·1 answer
  • A computer supply company is located in a building with three wireless networks.
    10·1 answer
  • Vicky is investigating multiple hacking attempts on her cloud-based e-commerce web servers. She wants to add a front-end securit
    5·1 answer
  • How do you award a brainliest
    8·2 answers
  • What are the services offered by web-based email?​
    12·1 answer
  • What is the difference between a computer’s RAM and its hard disk?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!