linnad=["Tallinn", "Tartu", "Tapa", "Narva"] tulbalaius=16 for veerulinn in ["algus"]+linnad: print(veerulinn.ljust(tulbalaius), end="") print() for realinn in linnad: print(realinn.ljust(tulbalaius), end="") for veerulinn in linnad: print((realinn+"/"+veerulinn).ljust(tulbalaius), end="") print()