Skip to content
Discussion options

You must be logged in to vote

You're converting the table in to a string in the fstring, which will call repr on it. Just fo console.print(prompt).

You won't be able to style the table by converting it in to a string. But you can set a style on the table, with table.style = "red on white" for example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Smilin-Dominator
Comment options

Answer selected by Smilin-Dominator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants