1.

If S = “ this is a test” what is the output returned by following slicing operations? 21. S [ : ] a. “thisis atest” 22. S[3:7] a. “this” b. “s is” 23. S[ : : -1] a. “ this is a test” b.“this” c.““ d. “test” c. “s is “ d. “test” b. “tset a si siht” c. “ this” d. “siht” 24. S[2: : 2] a. “thisis” b.“isatest” c.“iiats” d.'is et' 25. S[2:2:2] a. ‘‘ b.i c.ii d.‘th’ 26. S[ : : -2] a. 'te s it' b. ‘tesit’ c. ‘tet’ d. ‘test’

Answer» PLEASE MARK in BRAIN LIST


Discussion

No Comment Found