Find the error and rewrite the program after correcting it.
A. foriin range (1,6) forj in range (1 ,i)
print(“ *,end= ‘’) print ()
B. foriinrange 1,4: forjinrange 1,i:
print( *, end=‘ ’) print ()
C. n=input(“Enterthenumbertobechecked-->”)
Answers
Answered by
2
Explanation:
B. foriinrange 1,4: forjinrange 1,i:
print( *, end=‘ ’) print ()
Similar questions