Computer Science, asked by tanishqmakhija1810, 4 months ago


What will be the output of following python program:
odd = (1, 3, 5)
print(odd + [9, 7, 51)
print(["re"] * 3)​

Answers

Answered by arya229573
2

Answer:

can u give me 50 points

thebrainlyqueen

Answered by deepakshi9
2

Answer:

All answers are wrong because you assign A(capital A) = ["1","2","3"]

And you want to print (2*a)

This is a error you have to assign a(small a) instead of A(capital A)

Let me explain you that pyton is case sensitive language here every letter contain different meaning. If you replace a to A your answer will be :-

A = ["1","2","3"]

print(2*A)

output → [1,2,3,1,2,3]

Similar questions