format()
Publié : ven. mars 29, 2019 12:36 pm
Hello, I see that format cmd prints linearly and not in 2D
Code : Tout sélectionner
def f():
DispG
ClrIO
printf("%gen %gen",3/5, 4/2)
printf("{} {}".format(3/5, 4/2))
printf("{1} {0}".format(3/5, 4/2))
printf("{} {}".format("one", "two"))
printf("{1} {0}".format("one", "two"))