1.

(k)for x in 'lamp":print(str.upper(x))find the output ​

Answer»

Answer:

L

A

M

P

Explanation:

the OUTPUT will be:

L

A

M

P

str.upper() returns the ARGUMENTS passed as UPPERCASE LETTERS...

for example:

print(str.upper(Kunal))

output:

K

U

N

A

L



Discussion

No Comment Found