Toptube Video Search Engine



Title:#26 Python Tutorial for Beginners | Array in Python
Duration:15:57
Viewed:1,295,677
Published:18-07-2018
Source:Youtube

Check out our courses: Spring and Microservices Weekend Live Batch : https://bit.ly/spring-live-weekend Coupon: TELUSKO10 (10% Discount) Master Java Spring Development : https://bit.ly/java-spring-cloud Udemy Courses: Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko Java For Programmers:- https://bit.ly/javaProgrammers For More Queries WhatsApp or Call on : +919008963671 website : https://courses.telusko.com/ Instagram : https://www.instagram.com/navinreddyofficial/ Linkedin : https://in.linkedin.com/in/navinreddy20 TELUSKO Android App : https://bit.ly/TeluskoApp In this lecture we are dicussing about for else loop: -- The for-else loop in Python is a control flow structure that combines the for loop and else statement. The for loop iterates over a sequence of items, and the else statement is executed after the loop is completed, provided that the loop was not terminated prematurely by a break statement. Here's the basic syntax: for item in sequence: # loop body else: # else block -- The sequence can be any iterable object, such as a list, tuple, or string. The loop body is executed once for each item in the sequence, and the item variable takes on the value of each item in turn. -- If the loop completes normally, without encountering a break statement, then the else block is executed. This can be useful for executing cleanup code or performing some final action after the loop is finished. nums=[12,15,18,21,26] #get first number divisble by 5 print from list and we want if number is not divisible by 5 then print not found every time for num in nums: if num% 5==0: print(num) break else: print("not found") #get first number divisble by 5 print from list and we want if number is not divisible by 5 then print not found once nums=[23,24,27,38,29] for num in nums: if num% 5==0: print(num) break else: print("not found") Github :- https://github.com/navinreddy20/Python- Python for Beginners :- http://bit.ly/3JOLQhl Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko More Learning : Java :- https://bit.ly/3x6rr0N Python :- https://bit.ly/3GRc7JX Django :- https://bit.ly/3MmoJK6 JavaScript :- https://bit.ly/3tiAlHo Node JS :- https://bit.ly/3GT4liq Rest Api :-https://bit.ly/3MjhZwt Servlet :- https://bit.ly/3Q7eA7k Spring Framework :- https://bit.ly/3xi7buh Design Patterns in Java :- https://bit.ly/3MocXiq Docker :- https://bit.ly/3xjWzLA Blockchain Tutorial :- https://bit.ly/3NSbOkc Corda Tutorial:- https://bit.ly/3thbUKa Hyperledger Fabric :- https://bit.ly/38RZCRB NoSQL Tutorial :- https://bit.ly/3aJpRuc Mysql Tutorial :- https://bit.ly/3thpr4L Data Structures using Java :- https://bit.ly/3MuJa7S Git Tutorial :- https://bit.ly/3NXyCPu Donation: PayPal Id : navinreddy20 https://www.telusko.com



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :