+ 2
int(input() * 5) converts to integer a 5 times concatenation of the input string. So, if you enter "1", paint will become 11111.
+ 1
Is it in python that you need // to divide properly?
+ 1
Ausgrindtube It depends on what "properly" means in each context. // is "floor division".
+ 1
Datboi Let us see your actual code, instead of a copy and changes scattered among amswers.
Pls edit your question description and include a link to your code in Code Playground - use "+" button. This way, everyone can debug, it's always updated, and easy to find.
+ 1
Datboi Get used to the idea of linking the code in the question description, instead of in answers. Some more answers and this will get lost among the others.
That said, two questions:
1. What is the task?
2. Why do you convert to int several times?
+ 1
Datboi OK. Try removing all integer conversions and roundings, and see the results. We'll be in a clean state, at least.