New course! Every coder should learn Generative AI!
Try a free lesson6 Answers
+ 4
If you want another code:
https://code.sololearn.com/cAxMZvLLckJH/?ref=app
+ 1
hey Vivek Kumar you can do it in very simple Mannar the code is down
print("P" + " " * 6 + "N")
print(" " + "Y" + " " * 4 + "O")
print(" " * 2 + "T" + " " * 1 + "H")
+ 1
Mehran sanea , I want a answer in which the user can input, python was just an example
+ 1
Vivek Kumar try this:
print(āP N\nā)
print(ā Y O \nā)
print(ā TH ā)
that is all one code. hope it helped.
Alexander Wood šš
0
print("""
P N
Y O
TH
""")