Computer Science, asked by smilyjasminemallela, 5 months ago

what will be the output of the following python statement
>>>"a"+"bc"​

Answers

Answered by anindyaadhikari13
3

Answer:

  • The output of the given python statement is - 'abc'.

Explanation:

  • Here, + operator is used for concatenating two or more strings.
  • Concatenating "a" and "bc" gives result - "abc"
  • The result obtained is displayed on the screen.
  • If we write >> "a"+"b"+"c", then also, it will give the same output.

Refer to the attachment.

Attachments:
Similar questions