Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PlatosPinaka = int(input("Πλάτος Πίνακα: "))
- PlatosKornizas = int(input("Πλάτος κορνίζας: "))
- XromaPinaka = input("χρώμα πίνακα: ")
- stiles = int(input("Στήλες: "))
- data = ""
- for i in range(stiles+1):
- data += f"\t\t<td> -{i+1}- </td>\n"
- pinakas = f"""<table width="{PlatosPinaka}" border="{PlatosKornizas}" bgcolor="{XromaPinaka}">
- \t<tr>\n
- {data}
- \t</tr>
- </table>
- """
- print(pinakas)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement