Computer Science, asked by manjupandeys50, 3 months ago

Which of the following is not a legal string operation and Why:

>>>"KV"+"KDML" % 2 , >>>'Kendriya'+'Vidyalaya'

>>>"K"+"V"+"KDML", >>>'KV' * 5

Answers

Answered by Anonymous
2

Answer:

hello,

Explanation:

"KV"+"KDML" % 2

____________________

"KV"+"KDML" % 2  will give a type error

whereas ,

  • 'Kendriya'+'Vidyalaya'  will return KendriyaVidyalaya
  • "K"+"V"+"KDML"  will return KVKDML
  • 'KV' * 5 will return KVKVKVKVKV

_____________________

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions