الله@lemmy.world to General Programming Discussion@lemmy.ml · 3 months agoApparently this code is not good enough can someone help me?lemmy.mlimagemessage-square7linkfedilinkarrow-up15arrow-down12
arrow-up13arrow-down1imageApparently this code is not good enough can someone help me?lemmy.mlالله@lemmy.world to General Programming Discussion@lemmy.ml · 3 months agomessage-square7linkfedilink
minus-squaresetsubyou@lemmy.worldlinkfedilinkarrow-up4·edit-23 months agoThe second loop basically just creates the same content that’s already in line so it wants you to print that again instead. I wonder what it would say to name = "World" print(f"+{'':-^{len(name)}}+\n|{name}|\n+{'':-^{len(name)}}+")
The second loop basically just creates the same content that’s already in line so it wants you to print that again instead.
I wonder what it would say to