25th Apr 2024, 4:21 AM
Noob Coder 🥂
3 Réponses
+ 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.
25th Apr 2024, 5:01 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 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
25th Apr 2024, 11:15 PM
Daksh Doshi
Daksh Doshi - avatar
+ 1
Ok thanks alot 🥂💖👍 Wilbur Jaywright and Daksh Doshi
26th Apr 2024, 7:51 AM
Noob Coder 🥂