Перейти к содержимому

Python Conditions, Loops & Functions in Hindi | Python Tutorial #4k

Om Yadav

0:00 / 0:00

Python Conditions, Loops & Functions in Hindi | Python Tutorial #4k

421 просмотр · 7 дн. назад
Om Yadav
48 подписчиков
421 просмотр · 7 дн. назад
Learn Python conditions, loops, and functions with step-by-step explanations and practical coding examples in Hindi/Hinglish. In Python Tutorial #4, we explore how to make decisions with conditions, repeat tasks using loops, and organise reusable code with functions. Follow along in your code editor and try the examples yourself! WHAT YOU’LL LEARN • if, elif and else statements • Nested if conditions • While loops and updating a counter • For loops with strings, lists and range() • Defining and calling functions • Function parameters and arguments • The difference between return and print() CHAPTERS 00:00 Introduction 01:02 Conditions: if 03:51 else and elif 05:55 Nested conditions 09:09 While loops 15:51 For loops and range 21:04 Functions PRACTISE AFTER WATCHING 1. Write a program that checks whether a number is positive, negative or zero. 2. Print numbers from 1 to 10 using a loop. 3. Create a function that takes two numbers and returns their sum. Pause the video, type the code yourself, and experiment with different inputs. Refer to the on-screen clarification notes wherever they appear. Have a question? Leave your code and doubt in the comments. Subscribe to follow the Python learning series and my journey into programming and data science. #Python #PythonForBeginners #PythonInHindi