Python For ile Piramit Oluşturma

D

Drenated

Legend Member
Joined
Nov 23, 2019
Messages
1,865
Reaction score
1,517
Merhaba arkadaşlar bu uygulamamızla for döngüsü kullanarak piramit oluşturacağız
Python:
#!/usr/bin/python3

satir=10
print('\n...realitycheats...\n')
for i in range(satir):
    print(' '*(satir-i-1) + '*'*(2*i+1))
 
Last edited:
1

1Jeff

Developer & Coder
Ultra Member
Joined
Oct 20, 2019
Messages
725
Reaction score
446
Location
Helsinki
Print fonksiyonundaki yazıyı düzenler misin, Ellerine sağlık.
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom