Predict the output of the given c∅de.
print("\n".join((str(i)+" ")*i for i in range(1,6)))
Language: Python.
Share
Predict the output of the given c∅de.
print("\n".join((str(i)+" ")*i for i in range(1,6)))
Language: Python.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Answer :-
The output is attached :-
Python is a programming language in computer. It is easy to program in it
[tex] \\ [/tex]
Answer:
[tex]\small\star{\red{\fbox{This\:is\:the\:answer}}}\star[/tex]
Explanation:
1
22
333
4444
55555
666666