Computer Science, asked by student2787, 9 months ago

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

Answers

Answered by Anonymous
2

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

Similar questions