{"id":423,"date":"2020-03-03T02:17:43","date_gmt":"2020-03-03T02:17:43","guid":{"rendered":"http:\/\/lotusithub.com\/blog\/?p=423"},"modified":"2020-03-03T02:17:43","modified_gmt":"2020-03-03T02:17:43","slug":"top-10-loop-questions-in-python-for-interview","status":"publish","type":"post","link":"https:\/\/lotusithub.com\/blog\/top-10-loop-questions-in-python-for-interview\/","title":{"rendered":"Top 10 loop questions in python For interview"},"content":{"rendered":"<h1>Top 10 loop questions in python For interview<\/h1>\n<p>&nbsp;<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-428\" src=\"https:\/\/growbizzserver.in\/lotusithub\/blog\/wp-content\/uploads\/2020\/03\/Blue-and-Yellow-Childrens-Day-Facebook-post-1.png\" alt=\"Top 10 loop questions in python For interview\" width=\"940\" height=\"788\" srcset=\"https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/03\/Blue-and-Yellow-Childrens-Day-Facebook-post-1.png 940w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/03\/Blue-and-Yellow-Childrens-Day-Facebook-post-1-300x251.png 300w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/03\/Blue-and-Yellow-Childrens-Day-Facebook-post-1-768x644.png 768w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/03\/Blue-and-Yellow-Childrens-Day-Facebook-post-1-585x490.png 585w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>1.Write a program to find factorial of given number.<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">fact=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">i=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">n=int(input(&#8220;enter the number&#8221;))<\/span><\/p>\n<p><span style=\"font-weight: 400;\">while i&lt;=n:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0fact=fact*i<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0i=i+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">print(fact)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">enter the number4<\/span><\/p>\n<p><span style=\"font-weight: 400;\">24<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>2.Write a program to find Fibonacci Series.<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">n=int(input(&#8220;how many terms???&#8221;))<\/span><\/p>\n<p><span style=\"font-weight: 400;\">n1=0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">n2=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">count=0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">for i in range(1,n):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(n1,end=&#8217; &#8216;)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0count=n1+n2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0n1=n2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0n2=count<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span> <span style=\"font-weight: 400;\">how many terms???10<\/span><\/p>\n<p><span style=\"font-weight: 400;\">0 1 1 2 3 5 8 13 21 34<\/span><\/p>\n<h2><strong>3. Write a program to check whether the given number is Armstrong number or not.<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">n=372<\/span><\/p>\n<p><span style=\"font-weight: 400;\">sum=0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">p=n<\/span><\/p>\n<p><span style=\"font-weight: 400;\">while n&gt;0:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0x=int(n%10)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0sum=sum +x*x*x<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0n=n\/10<\/span><\/p>\n<p><span style=\"font-weight: 400;\">if p==sum:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is Armstrong number &#8220;%p)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">else:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is not Armstrong number &#8220;%p)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">153 is Armstrong number<\/span><\/p>\n<ol start=\"4\">\n<li>\n<h2><span style=\"font-weight: 400;\"> Write a program to check whether the given number is Prime number or not.<\/span><\/h2>\n<\/li>\n<\/ol>\n<h2><span style=\"font-weight: 400;\">n=int(input(&#8220;Enter the number&#8221;))<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">if n&gt;1:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0for i in range(2,n):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if (n%i==0):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is not prime number &#8220;%n)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0break<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0else:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is prime number &#8220;%n)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">else:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is not prime number &#8220;%n)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter the number97<\/span><\/p>\n<p><span style=\"font-weight: 400;\">97 is prime number<\/span><\/p>\n<p>&nbsp;<\/p>\n<ol start=\"4\">\n<li>\n<h2><strong> Write a program to check whether the given number is Perfect\u00a0 number or not.<\/strong><\/h2>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">n=int(input(&#8220;Enter the number&#8221;))<\/span><\/p>\n<p><span style=\"font-weight: 400;\">sum=0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">for i in range(1,n):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0if n%i==0:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sum=sum+i<\/span><\/p>\n<p><span style=\"font-weight: 400;\">print(sum)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">if sum==n:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is perfect number &#8220;%n)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">else:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(&#8220;%i is not perfect number &#8220;%n)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter the number28<\/span><\/p>\n<p><span style=\"font-weight: 400;\">28 is perfect number<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>6.Write a program to find Armstrong Numbers in an interval(1 to 1000).<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">for n in range(1,1001):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0p=n<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0sum=0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0while p&gt;0:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0x=int(p%10)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sum=sum+x*x*x<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0p=int(p\/10)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0if sum==n:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0print(n)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">153<\/span><\/p>\n<p><span style=\"font-weight: 400;\">370<\/span><\/p>\n<p><span style=\"font-weight: 400;\">371<\/span><\/p>\n<p><span style=\"font-weight: 400;\">407<\/span><\/p>\n<h2><strong>7.Write a program to print following Output:<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">i=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">while i&lt;=4:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0j=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0while j&lt;=4:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8220;*&#8221;,end=&#8221;)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0j=j+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print()<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0i=i+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<h2><strong>8.Write a program to print following Output:<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">*<\/span><\/p>\n<p><span style=\"font-weight: 400;\">**<\/span><\/p>\n<p><span style=\"font-weight: 400;\">***<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">i=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">while i&lt;=4:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0j=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0while j&lt;=i:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8220;*&#8221;,end=&#8221;)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0j=j+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print()<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0i=i+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">*<\/span><\/p>\n<p><span style=\"font-weight: 400;\">**<\/span><\/p>\n<p><span style=\"font-weight: 400;\">***<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<ol start=\"9\">\n<li>\n<h2><strong> Write a program to print following Output:<\/strong><\/h2>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0*<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0**<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0***<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<p><span style=\"font-weight: 400;\">i=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">while i&lt;=4:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0k=4<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0while k&gt;i:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8216; &#8216;,end=&#8221;)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0k=k-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0j=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0while j&lt;=i:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8220;*&#8221;,end=&#8221;)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0j=j+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print()<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0i=i+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0*<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0**<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0***<\/span><\/p>\n<p><span style=\"font-weight: 400;\">****<\/span><\/p>\n<h2><strong>10.Write a program to print 1 to 10 multiplication table.<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">i=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">while i&lt;=10:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0j=1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0while j&lt;=10:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(i*j ,end=&#8217;\\t&#8217;)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0j=j+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print()<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0i=i+1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Output:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1<\/span> <span style=\"font-weight: 400;\">2<\/span> <span style=\"font-weight: 400;\">3<\/span> <span style=\"font-weight: 400;\">4<\/span> <span style=\"font-weight: 400;\">5<\/span> <span style=\"font-weight: 400;\">6<\/span> <span style=\"font-weight: 400;\">7<\/span> <span style=\"font-weight: 400;\">8<\/span> <span style=\"font-weight: 400;\">9<\/span> <span style=\"font-weight: 400;\">10<\/span><\/p>\n<p><span style=\"font-weight: 400;\">2<\/span> <span style=\"font-weight: 400;\">4<\/span> <span style=\"font-weight: 400;\">6<\/span> <span style=\"font-weight: 400;\">8<\/span> <span style=\"font-weight: 400;\">10<\/span> <span style=\"font-weight: 400;\">12<\/span> <span style=\"font-weight: 400;\">14<\/span> <span style=\"font-weight: 400;\">16<\/span> <span style=\"font-weight: 400;\">18<\/span> <span style=\"font-weight: 400;\">20<\/span><\/p>\n<p><span style=\"font-weight: 400;\">3<\/span> <span style=\"font-weight: 400;\">6<\/span> <span style=\"font-weight: 400;\">9<\/span> <span style=\"font-weight: 400;\">12<\/span> <span style=\"font-weight: 400;\">15<\/span> <span style=\"font-weight: 400;\">18<\/span> <span style=\"font-weight: 400;\">21<\/span> <span style=\"font-weight: 400;\">24<\/span> <span style=\"font-weight: 400;\">27<\/span> <span style=\"font-weight: 400;\">30<\/span><\/p>\n<p><span style=\"font-weight: 400;\">4<\/span> <span style=\"font-weight: 400;\">8<\/span> <span style=\"font-weight: 400;\">12<\/span> <span style=\"font-weight: 400;\">16<\/span> <span style=\"font-weight: 400;\">20<\/span> <span style=\"font-weight: 400;\">24<\/span> <span style=\"font-weight: 400;\">28<\/span> <span style=\"font-weight: 400;\">32<\/span> <span style=\"font-weight: 400;\">36<\/span> <span style=\"font-weight: 400;\">40<\/span><\/p>\n<p><span style=\"font-weight: 400;\">5<\/span> <span style=\"font-weight: 400;\">10<\/span> <span style=\"font-weight: 400;\">15<\/span> <span style=\"font-weight: 400;\">20<\/span> <span style=\"font-weight: 400;\">25<\/span> <span style=\"font-weight: 400;\">30<\/span> <span style=\"font-weight: 400;\">35<\/span> <span style=\"font-weight: 400;\">40<\/span> <span style=\"font-weight: 400;\">45<\/span> <span style=\"font-weight: 400;\">50<\/span><\/p>\n<p><span style=\"font-weight: 400;\">6<\/span> <span style=\"font-weight: 400;\">12<\/span> <span style=\"font-weight: 400;\">18<\/span> <span style=\"font-weight: 400;\">24<\/span> <span style=\"font-weight: 400;\">30<\/span> <span style=\"font-weight: 400;\">36<\/span> <span style=\"font-weight: 400;\">42<\/span> <span style=\"font-weight: 400;\">48<\/span> <span style=\"font-weight: 400;\">54<\/span> <span style=\"font-weight: 400;\">60<\/span><\/p>\n<p><span style=\"font-weight: 400;\">7<\/span> <span style=\"font-weight: 400;\">14<\/span> <span style=\"font-weight: 400;\">21<\/span> <span style=\"font-weight: 400;\">28<\/span> <span style=\"font-weight: 400;\">35<\/span> <span style=\"font-weight: 400;\">42<\/span> <span style=\"font-weight: 400;\">49<\/span> <span style=\"font-weight: 400;\">56<\/span> <span style=\"font-weight: 400;\">63<\/span> <span style=\"font-weight: 400;\">70<\/span><\/p>\n<p><span style=\"font-weight: 400;\">8<\/span> <span style=\"font-weight: 400;\">16<\/span> <span style=\"font-weight: 400;\">24<\/span> <span style=\"font-weight: 400;\">32<\/span> <span style=\"font-weight: 400;\">40<\/span> <span style=\"font-weight: 400;\">48<\/span> <span style=\"font-weight: 400;\">56<\/span> <span style=\"font-weight: 400;\">64<\/span> <span style=\"font-weight: 400;\">72<\/span> <span style=\"font-weight: 400;\">80<\/span><\/p>\n<p><span style=\"font-weight: 400;\">9<\/span> <span style=\"font-weight: 400;\">18<\/span> <span style=\"font-weight: 400;\">27<\/span> <span style=\"font-weight: 400;\">36<\/span> <span style=\"font-weight: 400;\">45<\/span> <span style=\"font-weight: 400;\">54<\/span> <span style=\"font-weight: 400;\">63<\/span> <span style=\"font-weight: 400;\">72<\/span> <span style=\"font-weight: 400;\">81<\/span> <span style=\"font-weight: 400;\">90<\/span><\/p>\n<p><span style=\"font-weight: 400;\">10<\/span> <span style=\"font-weight: 400;\">20<\/span> <span style=\"font-weight: 400;\">30<\/span> <span style=\"font-weight: 400;\">40<\/span> <span style=\"font-weight: 400;\">50<\/span> <span style=\"font-weight: 400;\">60<\/span> <span style=\"font-weight: 400;\">70<\/span> <span style=\"font-weight: 400;\">80<\/span> <span style=\"font-weight: 400;\">90<\/span> <span style=\"font-weight: 400;\">100<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">\n<a class=\"maxbutton-2 maxbutton maxbutton-enroll-now\" href=\"https:\/\/www.lotusithub.com\/contact.html\"><span class='mb-text'>Request For Call Back<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Top 10 loop questions in python For interview &nbsp; &nbsp; 1.Write a program to find&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[132,133,135],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-interview","tag-python-interview-questions","tag-python-questions"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":0,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/posts\/423\/revisions"}],"wp:attachment":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/media?parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/categories?post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/tags?post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}