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
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