FLAMES Game - Python Program | Interview Question

  Рет қаралды 26,604

Amulya's Academy

Amulya's Academy

Күн бұрын

Пікірлер: 94
@abdulmanaf3106
@abdulmanaf3106 4 жыл бұрын
I wonder why this channel is underated......it deserves more attention by python lovers
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you :)
@ruturajjadhav8905
@ruturajjadhav8905 4 жыл бұрын
This girl deserves more than a like and a subscribe. I have been following this channel since a month. There came no point where I struggled to understand the logic. Thank you for this.(once again) Do you have insta page for programming?? Hope you see my comment.
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you so much :) I will create insta page soon :)
@The_Voicee
@The_Voicee 4 жыл бұрын
@@AmulsAcademy did you create
@gigachad9336
@gigachad9336 3 жыл бұрын
@@The_Voicee SIMP!!!!!! LOL BROTHER YOU GONNA WAIT TILL THE END OF YOUR LIFE xD.
@gigachad9336
@gigachad9336 3 жыл бұрын
YOU SIMPP!!!!! xDD
@gigachad9336
@gigachad9336 3 жыл бұрын
@@AmulsAcademy HEY thanks for the tutorial but becareful and stay away from these two guys xD
@sajay64
@sajay64 4 жыл бұрын
Actually I started Python with a basic course this Jun20 and thought of doing some project to learn more. and First one came to mind was Flames. I could create a working model in first week of July itself in tkinter. Today i just thought of checking it again and re-wrote few functions and made look good (to my satisfaction except that removing 'FLAMES'). But this slicing part never appeared in my wildest imaginations. So I had to write crazy loop to start from the very next word after deleting. Then thought of better ways by googling.This is indeed simple and logical. Thanks a lot. No other words. simply superb way of coding and teaching. Looking forward to see more
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you :)
@souridhbanerjee2351
@souridhbanerjee2351 4 жыл бұрын
n=input("enter the first name") m=input("enter the second name") s1=len(n) s2=len(m) c=0 for i in n: for j in m: if i==j: s1-=1 s2-=1 c=s1+s2 list=["f","l","a","m","e","s"] x=c%6 while (len(list)>1): if x==0: list.pop(len(list)-1) else: list.pop(x-1) x=c%len(list) print(list) i tried this logic..a bit simpler
@selvanm2872
@selvanm2872 5 жыл бұрын
"thank you so much amulya" # [ we waiting next videos ]
@t.gowthamarasu1258
@t.gowthamarasu1258 5 жыл бұрын
Vera level
@Onelastgame1
@Onelastgame1 5 жыл бұрын
Thanks u AMUL for making a game Hope u doing more games
@meenaganesan1005
@meenaganesan1005 4 жыл бұрын
nalla irukku akka
@rutwickalyan8003
@rutwickalyan8003 5 жыл бұрын
Amuls_Academy={ "Explanation" : "Neat" ," Voice-over" : "Sweet" }
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
Thank you :)
@t.gowthamarasu1258
@t.gowthamarasu1258 5 жыл бұрын
Not like a sweet அதுக்கும் மேல
@karthicksk3392
@karthicksk3392 4 жыл бұрын
@@t.gowthamarasu1258 tamil ahh
@harisankarpanigrahi167
@harisankarpanigrahi167 4 жыл бұрын
Mam hats off to your teaching efforts , speechless indeed.. please make some videos on SQL...I am not getting anything of SQL
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you :) I will try :)
@kavyanagarikanti6163
@kavyanagarikanti6163 9 ай бұрын
Awesome mam 🎉🎉❤
@arpitkesarwani6123
@arpitkesarwani6123 5 жыл бұрын
Relationships b/w "Amuls"," Academy" is "Affectionate"
@gigachad9336
@gigachad9336 3 жыл бұрын
i knew someone gonna try this.
@saibaba8170
@saibaba8170 4 жыл бұрын
Sister really super we support you😃😃😃
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you so much :)
@ShalomMura
@ShalomMura 5 жыл бұрын
Simple and common example to explain U rocked...
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
Thank you :)
@saikumarshivarla1491
@saikumarshivarla1491 3 жыл бұрын
nice content maam youre great teacher
@krishna3876
@krishna3876 2 жыл бұрын
A big ❤️ for your tutorials sister
@ThisAmit
@ThisAmit 3 жыл бұрын
Thanks! But Why u didn't use remove function?
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Try with remove function 😊
@lahari4688
@lahari4688 3 жыл бұрын
Thnqq soo much for ur wonderful explanation....
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Pleasure 😊
@ECLIPTIC_NEXUS
@ECLIPTIC_NEXUS 11 ай бұрын
very good explanation
@shivanshsrivastava1715
@shivanshsrivastava1715 4 жыл бұрын
Such an interesting game , I appreciate your efforts ❤️👍
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you 👍
@gigachad9336
@gigachad9336 3 жыл бұрын
lol sounds like u never know this huh?? xD
@lokeshsurya9700
@lokeshsurya9700 4 жыл бұрын
Mam are U working in any IT COMPANY. its a great teaching
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
No :) I am a Full Time KZbinr :)
@mingshenggu2078
@mingshenggu2078 4 жыл бұрын
Your voice is very lovely!
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thanks a lot 😊
@robishankardenre3269
@robishankardenre3269 5 жыл бұрын
Great
@arifkamaal9399
@arifkamaal9399 5 жыл бұрын
Simple logic awesome
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
Thank you :)
@haha-ul3mt
@haha-ul3mt 4 жыл бұрын
i can feel your hard work
@amanchaudhary3171
@amanchaudhary3171 3 жыл бұрын
fantastic explanation
@naveenkumar7281
@naveenkumar7281 4 жыл бұрын
I don't know why it doesn't have likes .... Thank you for nice explanation... Before I took 3 days to solve... After seeing this video I understood well easily.. but what if I want to print flames cancelled ones ... Eg . If for 1 st step "L" is cancelled then FAMES should be printed and and 2 nd step so on .. is it possible pls say??
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you :) Yes you can modify the program like that :)
@naveenkumar7281
@naveenkumar7281 4 жыл бұрын
If u don't mind will u say logic for that?? Pls? For me it's coming but not in order(eg. [m,a,e,f,s] but not [f,a,m,e,s]) because we are changing list FROM left to right and right to left...
@gopalakrishnasriram1896
@gopalakrishnasriram1896 5 жыл бұрын
Thanks for teaching us, teach more
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
Pleasure :)
@maassterpiece
@maassterpiece 5 жыл бұрын
Thank you so much madam I'm waiting for this concept
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
Pleasure :)
@maassterpiece
@maassterpiece 5 жыл бұрын
@@AmulsAcademy Madam please explain Django madam By using pycharm editor
@sajay64
@sajay64 4 жыл бұрын
A slight change to first part for i in range(len(name1)): chk_letter=name1[i] if chk_letter in name2: name1,name2=name1.replace(chk_letter," ",1),name2.replace(chk_letter," ",1) chk_letter="".join((name1+name2).replace(" ","")) print("Truncated Name ",chk_letter) num=len(chk_letter)
@sateeshmummidi9311
@sateeshmummidi9311 5 жыл бұрын
i ping question which is asked in python interview .please do a video for this one .the question is below check it once. chef Gesteau is one of the finest chefs in paris.lets understand how he cooks! chef's Ingredients: 1.The chef receives "excatly 1 ingredient" per day from the market.The ingredients never repeat. 2.Every ingredient belongs to one of the 3 categories namely FIBER,FAT,CARB. 3.Every ingredient has a unique ingredient id. 4.The ingredient id always starts with the category name(ex:FIBERBroccoli,FATCheese,CARBRice) chefs Dishes: 1.All of the chefs dishes have "exactly 3"ingredients. 2.All the ingredients used wiil be fully used in a dish.The chef doesn't use some part/quantity of an ingredient. 3.All of the chef's dishes must take "atleast 2"of the ingredients froma single category(i.e, At least 2 FAT ingrdients OR at least 2 FIBER Ingredients OR at least 2 CARB ingredients) chefs cooking style: 1.If the chef has multiple options of ingredients for dish, then he takes the oldest possible ones to cook in the order of their arrival. 2.After the chef prepares a dish ,the ingredients used "can not be reused" as they've been already used. 3.The chef prepares a "maximum of 1 dish" per day. Given the input array of ingredient id that the chef receives every day(i.e.,array index is the day number) write a program to print when does the chef cook a dish and when he doesn't INPUT: Line1: The total number of days for the scope of the problem(1
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
I will try :)
@malcolmfsam6811
@malcolmfsam6811 4 жыл бұрын
thanks for explaining everythin
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
My Pleasure :)
@mounishgoud8417
@mounishgoud8417 4 жыл бұрын
Mam, if suppose name1 n name2 have same characters but different arrangements then we get count=0.In this case we also need to check arrangements of characters for count=0.
@Genki_Studios
@Genki_Studios 5 жыл бұрын
Here is an interview question :- make a quiz that has four options and add 1 point if the answer is correct and deducts 1 if it is incorrect also it should have an option to skip the question and quit the quiz design this quiz with dictionary python
@PavanKumar-by8dc
@PavanKumar-by8dc 4 жыл бұрын
How do will I become an expert like you?? Can you tell me plzzz , Amulya Garu 🤔
@satishpandu7601
@satishpandu7601 4 жыл бұрын
To eliminate common characters you could use set
@dhyaneshkk8729
@dhyaneshkk8729 2 жыл бұрын
Why don't you use symmetric_ difference () to remove the common letters.....that would be quite easy right.....
@RahulVerma-zg8vp
@RahulVerma-zg8vp 5 жыл бұрын
Problem showing when count is 10, please tell me why
@maassterpiece
@maassterpiece 5 жыл бұрын
Madam please explain tkinter GUI
@midhileshmomidi2434
@midhileshmomidi2434 5 жыл бұрын
We cannot appreciate in every video even it is boring to you ma'am 😛
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
Thank you :)
@sanjaybalaji6506
@sanjaybalaji6506 3 жыл бұрын
Pls say how become a good programer
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Learn, practice, keep learning 😊
@Pardhu-g5g
@Pardhu-g5g 5 ай бұрын
osm creative
@Alamm814
@Alamm814 3 жыл бұрын
nice maam
@OMKAR-uh7mt
@OMKAR-uh7mt 4 жыл бұрын
@Amulya It was a very nice video, 1 suggestion it would be nice if u gave the code in the description
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Ok i will remember that :)
@jiyaulhaque4509
@jiyaulhaque4509 5 жыл бұрын
hello mam ,,,plz make video on temperature...like printing a message ,,,enter the temp:90 it just right enter the temparature :120 it is hot .... in python....i am waiting ...tthank yu
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
I will try :)
@mank004
@mank004 3 жыл бұрын
temperature = int (input("Enter the temperature: ")) if temperature = 90: print("It is hot") print('Thank you')
@girishkumargk7480
@girishkumargk7480 2 жыл бұрын
S_index = 2. At last we got ["Enemies","Friends"]. Here only 0th and 1st indexes are present . Then how we slice the list1 using s_index=2..
@kumar-tj9hc
@kumar-tj9hc 5 жыл бұрын
If Incase the count is 7 then ??
@sourishravichandren3837
@sourishravichandren3837 5 жыл бұрын
The Formula is used in the cases where the length of the list is greater that 6
@jaseerhussain2977
@jaseerhussain2977 4 жыл бұрын
madam gameing programming video
@nithyap9032
@nithyap9032 5 жыл бұрын
4 modulus 6 is 2 ryt..how come it become 4
@ruturajjadhav8905
@ruturajjadhav8905 4 жыл бұрын
4 % 6 = 4 Because 6 * 0 + 4 = 4
@mgsindhu5777
@mgsindhu5777 4 жыл бұрын
Mam can you explain pygame plz
@thisissharief7651
@thisissharief7651 5 жыл бұрын
anyone here have played flames
@nagendravarma8495
@nagendravarma8495 5 жыл бұрын
Ha ha ha soo funny... 🤣🤣
@kellskelly5739
@kellskelly5739 5 жыл бұрын
U don't reply on social media's... Stop lying😡
@mensAmbition
@mensAmbition Жыл бұрын
#taking input from user name1 = input("enter the 1st name ---> ").lower() name2 = input("enter the 2nd name ---> ").lower() #removing white space from input for easy cal name1 = name1.replace(" ", "") name2 = name2.replace(" ", "") #getting commman ch and deleting it #ex ab in name 1 and cd in name2 # so a is compare with c and d a-->c $ a-->d # then b is comare with c then d , b--->c $ b-->d for i in name1: for j in name2: if i == j: #comman ch name1 = name1.replace(i, "",1) # remove those comman ch by empty string using replce meth name2 = name2.replace(j, "",1) # 1 == once occurance break count = len(name1+name2) # print(count) # if count is greater then 0 then only i find relationship in fLAME if count>0: list1 = ["Friends","Lovers","Affectionate","Marriage","Enemies","Siblings"] while len(list1)>1: c = count%len(list1) s_index = c - 1 if s_index >= 0: left = list1[:s_index] right = list1[s_index+1:] list1 = right+left else: list1 = list1[:len(list1)-1] print("relationship is: ",list1[0]) else: print("name are not correct or diff")
@kavyanagarikanti6163
@kavyanagarikanti6163 9 ай бұрын
Awesome mam 🎉🎉❤
Python Program For Matrix Addition and Subtraction
13:58
Amulya's Academy
Рет қаралды 77 М.
Create Quiz Using Dictionary | Python Tutorials | Interview Question
18:25
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Python Word Guessing Game for Beginners
13:35
Trinity software academy
Рет қаралды 9 М.
Valid Date Program | Python Tutorials
11:48
Amulya's Academy
Рет қаралды 21 М.
Method Overloading and Method Overriding| Python Tutorials for Beginners #lec105
17:46
Writing Python program for FLAMES game | yusy4code
11:08
Yusy4Code
Рет қаралды 7 М.
Python Program To Convert Given Integer To Roman Numerals | Programs
26:09
Collatz Conjecture: Python in Generating Collatz Sequences
5:37
Computing For All
Рет қаралды 2,4 М.
Leap Year Program | Python Tutorials
12:12
Amulya's Academy
Рет қаралды 78 М.
File Handling in Python | Python Tutorials for Beginners #lec95
45:32
Jenny's Lectures CS IT
Рет қаралды 120 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 576 М.