Hi You are helping a lot to every one who ever want to learn python. Could you please teach about some files related programs and regex if u possible . your explanation is very clear
PTA nhi kyu log dislike kr dete hai mam aap bahut acchi batati hai..aur aapki voice lovely and attractive hai..thank you to provide such wonderful video...
Your videos are one of the best on you tube for learning python and practicing. You explain really very well, problems with their concepts. Please make videos on python hackerrank or codechef problem. Also please try to make videos on python for data science
Thank you so much , your explanations are crystal clear .please do make videos on all types of python programming like files as well.Looking ahead to get such more videos form your end.
thank u so much .am so lucky to find such a good channel for python. .thank u so much .plz keep going . if possible plz update prgm regarding machine learning..
your voice is so relaxing :) and very informative hope to see more ! by the way can we make a program a 5x5 table that can show the out put of per column and per row?? thanks a lot!!
Thanks a lot. The program works well for a square matrix (isosceles square) and if the matrix is not square and there are two input numbers? And numbers can be less than 3 Example: 5, 7; 8.6; 7.2; 1.8.
Hi there. First of all congratulations on your videos, they help a lot people like me, begginers! Second in this program, if we change the variables for the numbers that they represent, why doesn't the code work!? if we change low for 0, or high by 4 the code stops working well! Why?
@@AmulsAcademy Thank you for your feedback! 👏 I'm not getting error, i'm getting wrong output! This is the code with the modifications i made: """ Printing Numbers in Square Shape """ # creating nested lists num = int(input("Enter a number: ")) nested_list = [[0 for i in range(num)] for y in range(num)] n = 1 low = 0 high = num - 1 count = int((num + 1) / 2) for i in range(count): for j in range(0, 5): # where i traded low for 0 and high + 1 for 5 nested_list[low][j] = n n += 1 for j in range(1, 5): # where i traded low+1 for 1 and high + 1 for 5 nested_list[j][high] = n n += 1 for j in range(3, -1, -1): # where i traded high-1 for 3 and low-1 for -1 nested_list[high][j] = n n += 1 for j in range(3, 0, -1): # where i traded high-1 for 3 and low for 0 nested_list[j][low] = n n += 1 low += 1 high -= 1 for i in range(num): for j in range(num): print(nested_list[i][j], end='\t') print() This is the output i got: Enter a number: 5 1 2 3 4 5 17 32 48 22 21 45 44 47 42 37 29 30 46 26 8 13 12 41 25 9
Hello from Argentina!! great video,! i do the same but it show me " List assignment index out of range " id check the range already but i cant find the error :( help!
@@AmulsAcademy n = int(input("Tamaño de la matriz N x N: ")) count = int((n+1)/2) high = n-1 low = 0 i=1 matriz = [[0] * n for f in range(n)] for f in range(count): for c in range(low,high+1): matriz[f][c]=i i+=1 for c in range(low+1,high+1): matriz[c][high] = i i+=1 for c in range(high-1,low-1,-1): matriz[high][c]=i i+=1 for c in range (high-1,low,-1): matriz[c][low]=i i+=1 low+=1 high+=1
In 4th for loop I did not understand Y we are using low-1..it should be till low+1 ryt, because we need low cell to be printed.. Madam please let me clear this in a more simple way
You can take input like this: n = int(input("rows:")) m = int(input("cols:")) ar = [[0 for j in range(n)] for i in range(m)] for i in range(m): for j in range(n): print(ar[i][j],end=" ") print() :)
@@AmulsAcademy a=int(input()) ar =[[0 for x in range(a)]for y in range(a)] n=1 low=0 high=n-1 count=int((a+1)/2) for i in range(count): for j in range(low,high+1): ar[i][j]=n n=n+1 for j in range(low+1,high+1): ar[j][high]=n n=n+1 for j in range(high-1,low-1,-1): ar[high][j]=n n=n+1 for j in range(high-1,low,-1): ar[j][low]=n n=n+1 low=low+1 high=high-1 for i in range(a): for j in range(a): print(ar[i][j],end="\t") print()
num = int(input("enter the number of rows:")) n = 1 matrix = [[0 for x in range(num)] for y in range(num)] for i in range(num): for j in range(num): matrix[i][j]=n n=n+1 i=0 j = num while i
num = int(input('enter number you rows want : ')) #input 6 here. nList = [[0 for x in range(num)] for y in range(num)] n=1 low = 0 high = num-1 count = int((num+5)/2) for i in range(count): for j in range (low, high+1): nList[i][j] = n n=n+1 ## for j in range(low+1, high+1): ## nList[j][high] = n ## n = n+1 ## for j in range(high-1, low-1, -1): ## nList[high][j] = n ## n=n+1 ## for j in range(high-1, low, -1): ## nList[j][low] = n ## n = n+1 ## low = low+1 ## high= high -1 for i in range(num): for j in range(num): print(nList[i][j], end ='\t') print() :)
Hi
You are helping a lot to every one who ever want to learn python.
Could you please teach about some files related programs and regex if u possible .
your explanation is very clear
Thank you:)
I have made some videos on regular expression :)
Explanation is too gud
Subscribed
After seeing this video I feel that I wasted my time in other RUclips channels
Thank you :)
Your explanations are very clear and you are very helpful. How would you do this program using recursion?
Thanks for this! Your explanations are much easier to understand than my lecturer. subscribed.
Thank you :)
Hi
Good evening mam
You are helpful for programming pythons . and I am learning your RUclips classes.
Thank u so much mam
Pleasure :)
PTA nhi kyu log dislike kr dete hai mam aap bahut acchi batati hai..aur aapki voice lovely and attractive hai..thank you to provide such wonderful video...
Thank you so much :)
Your videos are one of the best on you tube for learning python and practicing. You explain really very well, problems with their concepts.
Please make videos on python hackerrank or codechef problem.
Also please try to make videos on python for data science
Sure thank you :)
so glad that i found your videos....awesome work maam...thanks a lot !!!!!!!!!
Thank you :)
Really I like your teaching wow it's awesome and I can understand easily in Python
Thank you so much , your explanations are crystal clear .please do make videos on all types of python programming like files as well.Looking ahead to get such more videos form your end.
Thank you :)
@@AmulsAcademy can i get code plz
Clearly explained and Presentation is also very good.
Thank you
Very easily explained and plz never stop
Mam, provide videos for Python with database. It would be useful for every beginners.
Sure:)
Your explanation is very good and please make a video for python for data science
Will try :)
thank u so much .am so lucky to find such a good channel for python. .thank u so much .plz keep going . if possible plz update prgm regarding machine learning..
Thank you :)
Amulya where are you now!
You need for Pythonists?
Please come back and live with this channel.
Thank you for your work.
Lots of thanks amulya ma'am...🙏
Thank you! I was able to learn python easily with your help ^^ Also, pls do face reveal :D
Noted 😊❤️
Ur explanation is good and if you can do this program in c then its help to us
I will try :)
Thank you! Awesome explanatory video! Easy to understand seemingly tough concept.
Awesome mam... Thank you So much... Great Explaination.....
Thank you :)
Nice Explanation. Thanks Subscribed and liked.
Thank you :)
Good explanation thank you Amuls Academy
Pleasure :)
What an explanation! You are simply superb 😍
Thank you so much 😀
your voice is so relaxing :) and very informative hope to see more !
by the way can we make a program a 5x5 table that can show the out put of per column and per row?? thanks a lot!!
I guess it is kinda randomly asking but does anybody know a good place to stream new series online ?
Thanks a lot. The program works well for a square matrix (isosceles square)
and if the matrix is not square and there are two input numbers?
And numbers can be less than 3
Example: 5, 7; 8.6; 7.2; 1.8.
Great Effort, thanks alot
Pleasure :)
@@AmulsAcademy welcome
@@AmulsAcademy Mam I need help in few questions How can i contact you? Please provide me any source for contact.
Hi there. First of all congratulations on your videos, they help a lot people like me, begginers! Second in this program, if we change the variables for the numbers that they represent, why doesn't the code work!? if we change low for 0, or high by 4 the code stops working well! Why?
Thank you :)
When you use high as 4, getting any error ? Or wrong output :)
@@AmulsAcademy Thank you for your feedback! 👏 I'm not getting error, i'm getting wrong output! This is the code with the modifications i made:
"""
Printing Numbers in Square Shape
"""
# creating nested lists
num = int(input("Enter a number: "))
nested_list = [[0 for i in range(num)] for y in range(num)]
n = 1
low = 0
high = num - 1
count = int((num + 1) / 2)
for i in range(count):
for j in range(0, 5): # where i traded low for 0 and high + 1 for 5
nested_list[low][j] = n
n += 1
for j in range(1, 5): # where i traded low+1 for 1 and high + 1 for 5
nested_list[j][high] = n
n += 1
for j in range(3, -1, -1): # where i traded high-1 for 3 and low-1 for -1
nested_list[high][j] = n
n += 1
for j in range(3, 0, -1): # where i traded high-1 for 3 and low for 0
nested_list[j][low] = n
n += 1
low += 1
high -= 1
for i in range(num):
for j in range(num):
print(nested_list[i][j], end='\t')
print()
This is the output i got:
Enter a number: 5
1 2 3 4 5
17 32 48 22 21
45 44 47 42 37
29 30 46 26 8
13 12 41 25 9
mam will you recommend such questions for beginners ?
It is a simple program, you can understand it easily 😊
Many Thanks Madam
You are most welcome :)
Thank you mam this is very nice
Pleasure :)
Python makes life easier
Mam you can also make a video of printing a pattern in which the sum of rows ,cols and diags should be same
Could this program be done in fewer steps using lambda, map, filter, and/or reduce?
You can try and share with us :)
@@AmulsAcademy can i have ur insta id??
U r great
Osm.......
thank you so much mam
Most welcome 😊
thanks so much!
Welcome:)
Can we so this by swapping method????
May be you can try :)
thank you
You're welcome :)
Hai madam
Have you any python material
No sorry :)
Hello from Argentina!! great video,! i do the same but it show me " List assignment index out of range " id check the range already but i cant find the error :( help!
Give me the program i will check :)
@@AmulsAcademy
n = int(input("Tamaño de la matriz N x N: "))
count = int((n+1)/2)
high = n-1
low = 0
i=1
matriz = [[0] * n for f in range(n)]
for f in range(count):
for c in range(low,high+1):
matriz[f][c]=i
i+=1
for c in range(low+1,high+1):
matriz[c][high] = i
i+=1
for c in range(high-1,low-1,-1):
matriz[high][c]=i
i+=1
for c in range (high-1,low,-1):
matriz[c][low]=i
i+=1
low+=1
high+=1
@@AmulsAcademy i just found the error. i did this high = high + 1 instead high =high-1 hehehe... Thank you! you are awesome!
Can I know how to make sequenced squares but from the inside not the outside like this?
Can u pls say me how to reduce the no.of loops
In 4th for loop I did not understand Y we are using low-1..it should be till low+1 ryt, because we need low cell to be printed.. Madam please let me clear this in a more simple way
can you please tell me name of the compiler
can you do the same program in java
What if it is not a square matrix, how to approach mam
You can create different matrix shape using list comprehension :)
Tysm
Pleasure 😊
Mam it showing error l
" List assignment index out of range "
Please check the range in the for loop :)
If possible give me the program i will check for you :)
how can we do this for nxm matrix
You can take input like this:
n = int(input("rows:"))
m = int(input("cols:"))
ar = [[0 for j in range(n)] for i in range(m)]
for i in range(m):
for j in range(n):
print(ar[i][j],end=" ")
print()
:)
Hello.. thanks for this wonderful video. Can you help me acquire the below pattern??
For N = 3
33333
32223
32123
32223
33333
I will try :)
@@AmulsAcademy okay
hai this code convert in java
Please give code in the description
print without array
output
m=1
n=20
20 19 18 17 16
15 14 13 12 11
10 9 8 7 6
5 4 3 2 1
use 1 while loop
I can't do that it only shows 0 at 1st place and 0 at rest all
it doesn't run in mine
Why ? getting any error ?
i code exactly like you, and somehow it did not print all the latin square :))
Give me the program i will check :)
@@AmulsAcademy a=int(input())
ar =[[0 for x in range(a)]for y in range(a)]
n=1
low=0
high=n-1
count=int((a+1)/2)
for i in range(count):
for j in range(low,high+1):
ar[i][j]=n
n=n+1
for j in range(low+1,high+1):
ar[j][high]=n
n=n+1
for j in range(high-1,low-1,-1):
ar[high][j]=n
n=n+1
for j in range(high-1,low,-1):
ar[j][low]=n
n=n+1
low=low+1
high=high-1
for i in range(a):
for j in range(a):
print(ar[i][j],end="\t")
print()
Can I have program for
1 2 3 4
9 10 11 12
13 14 15 16
5 6 7 8
matrix = [[" " for x in range(4)] for y in range(4)]
n=1
low=0
high=3
while low
Mam please open a whatsApp group so that we can direct communicate with you
I will try :)
how can write 16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
num = int(input("enter the number of rows:"))
n = 1
matrix = [[0 for x in range(num)] for y in range(num)]
for i in range(num):
for j in range(num):
matrix[i][j]=n
n=n+1
i=0
j = num
while i
@@AmulsAcademy u r too good. and thank u so much
1 2 3 4 17 18 19 20
5 6 7 14 15 16
8 9 12 13
10 11 please explain to print this pattern
H ki
Who are waiting to know calendar program in python by amuls.
num = int(input('enter number you rows want : '))
#input 6 here.
nList = [[0 for x in range(num)] for y in range(num)]
n=1
low = 0
high = num-1
count = int((num+5)/2)
for i in range(count):
for j in range (low, high+1):
nList[i][j] = n
n=n+1
## for j in range(low+1, high+1):
## nList[j][high] = n
## n = n+1
## for j in range(high-1, low-1, -1):
## nList[high][j] = n
## n=n+1
## for j in range(high-1, low, -1):
## nList[j][low] = n
## n = n+1
## low = low+1
## high= high -1
for i in range(num):
for j in range(num):
print(nList[i][j], end ='\t')
print()
:)
Chel MAA chodla
1
23
456
23
1
Can you do the same pattern but shape is different and you can’t use array and strings
10 2 3 4
9 1 5
8 6
7
😂
So difficult 😶