+ 9
where is the problem in my code
I try to find it, Without success. can you take a look at my code? https://code.sololearn.com/cQqN10mvuqSj/?ref=app
9 odpowiedzi
+ 1
Then you operation on "\n" is add to previous, then you have to put before it the operator + like:
print( ("@" + ("/"*(x-1) ) + "\n") * y)
Please note the difference with your current line
+ 4
KrOW ahhhhh, ok! i didn't saw it... :~/
thank you for help me :|
+ 3
KrOW can yoy explain yourself?
+ 3
i changed it, he tel me there is problem with *y
i don't understand why. KrOW
+ 2
KrOW
i lost you.
I'll give example
input :
5
5
output:
#####
@////
@////
@////
@////
@////
+ 1
In your code what you mean with \n? If its not in string it create problems
+ 1
try this code, note the error and confront with your code:
print(\n)
Finally note that previous code its different from:
print("\n")
+ 1
I -_- D 👍👍👍
0
print( ("@" + ("/"*(x-1) ) "\n") * y)
Which operator you apply on "\n" string? I dont see no operator