4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Printing Names Like U

while True:
isim=raw_input("Bir isim giriniz: ")
if(len(isim)<=10):
break
else:
print("10 Harf veya 10 Haften kısa isim giriniz!")

if (len(isim)<10):
eklenecek=10-len(isim)
for i in range(eklenecek):
isim="*"+isim

bir=isim[0:5]
iki=isim[5:10]
for i in range(5):
print bir[i]+" "+iki[-i-1]

print iki

3 upvotes $0.00

Replies (1)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: