Ch 16 center method
name="Ankit"
x=name.center(100)
print(x))
#to center your your code by chage the value in the braket
#You can use nay number in this function
name="ankit"
x=name.center(20,"2")
print(x)
#U can set what u want in the "int the box when u type anything toh code can loop the same thing
Comments
Post a Comment