+ 1

I need your help

Why can't I print pattern K with * https://code.sololearn.com/c4OdLiLwDbYw/?ref=app

29th Nov 2020, 5:28 PM
Nidhiya Chinju
Nidhiya Chinju - avatar
4 Answers
29th Nov 2020, 5:40 PM
Simba
Simba - avatar
+ 3
Thnq so much...
29th Nov 2020, 5:43 PM
Nidhiya Chinju
Nidhiya Chinju - avatar
+ 1
https://code.sololearn.com/c4OdLiLwDbYw/?ref=app. Share link in description place. Not in question. See it won't work there... And what is 'k' there, you mean? Edit : Thanks for edit. Edit : Nidhiya Chinju 👍 Adding 1 more space make it to look clear..👍 for i in range(7): for j in range(7): if j==0 or i-j==3 or i+j==3: print("*",end="") else: print(end=" ") print()
29th Nov 2020, 5:35 PM
Jayakrishna 🇼🇳
+ 1
I meant to print a pattern like K
29th Nov 2020, 5:39 PM
Nidhiya Chinju
Nidhiya Chinju - avatar