L32: For loop for multiplication tables | programming in python

Publié le: 14 mai 2021
sur la chaîne: IIT Madras - B.S. Degree Programme
43,787
249

Welcome to Lecture 32 of the course "Programming in Python" by Prof. Sudarshan Iyengar.
Full Course: https://study.iitm.ac.in/ds/course_pa...

Video Overview
In this lecture we demonstrate the power of for loops in Python by automating the generation of multiplication tables. We begin with a manual repetitive approach and then refactor the code using a for loop to efficiently print the table of 2. The lecture also explains the range function and its variations showing how to control the start and end points of the loop to customize the output. We conclude with a challenge for viewers to create all the multiplication tables.

About IIT Madras' online Bachelor of Science programme
IIT Madras offers four year BS programmes that aim to provide quality education to all irrespective of age educational background or location. The BS programme has multiple levels which provide flexibility to students to exit at any of these levels. Depending on the courses completed and credits earned the learner can receive a Foundation Certificate from IITM CODE (Centre for Outreach and Digital Education), Diploma(s) from IIT Madras or BSc/BS Degrees from IIT Madras.
For more details Visit: https://www.iitm.ac.in/academics/stud...


Sur cette page du site, vous pouvez voir la vidéo en ligne L32: For loop for multiplication tables | programming in python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur IIT Madras - B.S. Degree Programme 14 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 43,787 fois et il a aimé 249 téléspectateurs. Bon visionnage!