By the way i love your voice mam. and for the last part of this problem , you changed initial row range. So it obvious that many people might get confused .But i got some different solution for that as you taught us . And " HERE IS WHAT I COME UP WITH": n=int(input("Enter the no. of rows: ")) for i in range(n): m=i+1 #print space for j in range(n-i-1): print(" ",end=" ") #print star for j in range(i+1): print("*",end=" ") print(end=" ") for j in range(i+1): print(m+j,end=" ") m+=1 print() print() for i in range(n): #print space for j in range(i): print(" ",end=" ") #print number for j in range(n-i): print(n-j,end=" ") print(end=" ") for j in range(n-i): print(2*(i+j)+1,end=" ") print()
@Bread-vk8fl3 жыл бұрын
A-M-A-Z-I-N-G!!! Most didactic video I have ever seen of python (for loops)
@ankitarya7923 жыл бұрын
Morning learning 😊😌☺🙌
@AmulsAcademy3 жыл бұрын
:)
@computeacher80353 жыл бұрын
Good explanation
@AmulsAcademy3 жыл бұрын
Thank you :)
@selvanm28723 жыл бұрын
👍👍👍
@AmulsAcademy3 жыл бұрын
Thank you :)
@ankitarya7923 жыл бұрын
Please do the FizzBuzz In 2 line code
@darshilkumar78163 жыл бұрын
can you remember me when you get famous?
@mohammadjobayed83153 жыл бұрын
Good explanation but i am still dumb!
@AmulsAcademy3 жыл бұрын
No... trace the program you will understand better 😊
@mepromptengineer3 жыл бұрын
A P Q R A B Q R A B C R A B C D How to write code to print this pattern... Please tell me anyone.
@AmulsAcademy3 жыл бұрын
We need to combine these two patterns here. A A B A B C A B C D another pattern is P Q R Q R R
@mepromptengineer3 жыл бұрын
@@AmulsAcademy how to combine those two patterns
@oggyandthecockroaches64572 жыл бұрын
n=4 for i in range(n): d=65 for j in range(i+1): print(chr(d),end=' ') d=d+1 d=80 d=d+i for k in range(i,n-1): print(chr(d),end=' ') d=d+1 print() (code for this question)