+ 2
Any good alternative to do this
https://sololearn.com/compiler-playground/cAaaU683u0C6/?ref=app
3 odpowiedzi
+ 3
I would suggest a triple-quoted string, which allows you to span multiple lines. However, emojis not being the same monospace width as the font Pyhton is using is a problem I’m not sure there’s any way to deal with. You might try using white square emojis instead.
+ 1
for i in range (0,8):
if i == 3 or i == 4:
print(" ", end="")
else :
print('*',end='')
print()
x = 6
for k in range(3,0,-1):
for l in range (k,4):
print (" ",end="")
for j in range (x,0,-1):
print ("*",end="")
x = x-2
print()
Well I did it with * so you can edit that part and add an emoji to it
+ 1
Ok thanks alot 🥂💖👍 Wilbur Jaywright and Daksh Doshi