I was only able to do this :
*
* * @
* * * @
* * @
* @
2
Anonymous
18 Sept 2018
Please elaborate your question..
How question pattern looks like. It's seems in single line and you printed in multiple lines... thank-you
1
Anonymous
29 Sept 2018
n = int(input("num"))
print("* " )
print("* ", end="")
print("* ", end="")
print("@ ", end="")
print("\n")
for i in range(n-2, 0, -1):
m = n-1-i
for j in range(i):
print("* " , end="")
print("@ ", end="")
for k in range(m):
print("* ",end="")
print("\n")
print(" ", end="")
print(" ", end="")
print("@ ", end="")
print("* ", end="")
print("* ")
for m in range(5):
if m<4:
print(" ", end="")
else:
print("* ")
1
Anonymous
29 Sept 2018
how many pattern question and time they give??
Anonymous
4 May 2019
import java.util.Scanner;
class Pattern6
{
void print1(int n)
{
int l=n-2;
for(int j=0;j<=n-2;j++)
{
for(int i=0;i