+ 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

20th Jun 2018, 11:22 AM
I -_- D
I -_- D - avatar
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
20th Jun 2018, 3:01 PM
KrOW
KrOW - avatar
+ 4
KrOW ahhhhh, ok! i didn't saw it... :~/ thank you for help me :|
20th Jun 2018, 3:11 PM
I -_- D
I -_- D - avatar
+ 3
KrOW can yoy explain yourself?
20th Jun 2018, 1:44 PM
I -_- D
I -_- D - avatar
+ 3
i changed it, he tel me there is problem with *y i don't understand why. KrOW
20th Jun 2018, 2:28 PM
I -_- D
I -_- D - avatar
+ 2
KrOW i lost you. I'll give example input : 5 5 output: ##### @//// @//// @//// @//// @////
20th Jun 2018, 2:57 PM
I -_- D
I -_- D - avatar
+ 1
In your code what you mean with \n? If its not in string it create problems
20th Jun 2018, 11:40 AM
KrOW
KrOW - avatar
+ 1
try this code, note the error and confront with your code: print(\n) Finally note that previous code its different from: print("\n")
20th Jun 2018, 2:05 PM
KrOW
KrOW - avatar
+ 1
I -_- D 👍👍👍
20th Jun 2018, 3:12 PM
KrOW
KrOW - avatar
0
print( ("@" + ("/"*(x-1) ) "\n") * y) Which operator you apply on "\n" string? I dont see no operator
20th Jun 2018, 2:33 PM
KrOW
KrOW - avatar