need ideas to improve | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

need ideas to improve

How to get blank space between each spl. character?? plss.. help code will be in my profile as well as mentioned below def pr_in_stl_way(): name=str(input("ENTER YOUR NAME:")) print(name) op_sp="" newop_sp= op_sp.center(20,'*') oldop_sp= op_sp.center(20,'*') the_name= name.center(20,'*') i=1 while i<=2: print("\n\t",newop_sp) print("\n\t",oldop_sp) i+=1 print ("\n\t",the_name) k=1 while k<=2: print("\n\t",newop_sp) print("\n\t",oldop_sp) k+=1 pr_in_stl_way() print("\n \n CREDITS - VISHWA KUMAR.P")

9th Aug 2018, 11:42 AM
vishwa kumar
vishwa kumar - avatar
5 Answers
9th Aug 2018, 1:57 PM
Sousou
Sousou - avatar
9th Aug 2018, 2:20 PM
Louis
Louis - avatar
0
vishwa kumar Do you mean;
9th Aug 2018, 1:45 PM
Sousou
Sousou - avatar
0
https://code.sololearn.com/cErvCPfhHNNW/#py https://code.sololearn.com/cErvCPfhHNNW/#py are the right answers
10th Aug 2018, 7:17 AM
vishwa kumar
vishwa kumar - avatar