#14 Functions in python with Example -1| Python Tutorial Series | in Tamil | EMC Academy

preview_player
Показать описание
In this enlightening YouTube video, join us on a journey to unravel the power of functions in Python. Whether you're a programming novice or looking to enhance your skills, this comprehensive guide has got you covered!

Our expert instructor will walk you through the fundamental concepts of functions, demystifying their purpose and showcasing their incredible versatility. Starting from the basics, you'll learn how to define and call functions, explore the different types of function arguments, and understand the importance of return values.

Dive deeper as we delve into advanced topics, such as function parameters, default values, and variable scope. You'll gain a solid understanding of how functions can be used to improve code readability, promote reusability, and enhance overall program structure.

Witness real-world examples and practical demonstrations that illustrate the practical applications of functions. Discover how to create custom functions tailored to your specific needs and learn valuable techniques for organizing your code into modular and manageable pieces.

With clear explanations and a step-by-step approach, this tutorial ensures that you'll grasp the intricacies of functions effortlessly. Enhance your Python programming prowess and unleash the full potential of functions to build robust and efficient programs.

Don't miss this opportunity to become a master of Python functions. Watch the video now and take your coding skills to new heights!

Tags: Python functions, Python programming, Python tutorials, Python for beginners, Programming concepts, Code organization, Function arguments, Variable scope, Return values
Рекомендации по теме
Комментарии
Автор

def evenodd(b):
if b%2==0:
print("Even")
else:
print("odd")
a=int(input("Enter a Number: "))
evenodd(a)

It is working fine.

Your teaching method was good. Thank you so much for your learning vedios.

shifanathawullah
Автор

def value(a):

if(a%2==0):
print("Its Even")
else:
print("Its Odd")

value(10)

arunhhh
Автор

def printrange():
a = int(input("enter a"))
b = int(input("enter b"))
for i in range(a, b):
print(i)
printrange()

azarudeena
Автор

def passorfail(b):
if(b>=35):
print("Pass")
else:
print("Faill")

a=int(input("Enter your marks ? "))
passorfail(a)

def findevenorodd (b):
if(b%2==0):
print("Even")
else:
print("odd")

findevenorodd(a)

abirajjr
Автор

Hey thank so much for clear explanation. :) im just a beginner. Had a code for 1300+ lines and was very confused here and there to check each lines without knowing/understanding "def" function. Now i have reduced my code to less than 300 :P. Thank You once again

imupistol
Автор

😂i need this type of teacher i will be the topper

Nigesh-wd
Автор

def printrange(r1, r2):

for i in range(r1, r2):
print(i)
a=int(input("Enter a number: "))
b=int(input("Enter a number: "))
printrange(a, b)

subashsmiles
Автор

get an integer number from user and pass it to the function called passorfail
solution:
def passorfail(b):
if(b>35):
print("pass")
else:
print("fail")

a=int(input("enter your marks:"))
passorfail(a)

kannandb
Автор

your starting example of function explanation is great 👏👏.

muthulakshmim
Автор

def printrange(m):
for i in range(j, s+1):
print(i)
j=int(input("a:"))
s=int(input("b:"))
u=(j, s)
printrange(u)

ummul.nafiha
Автор

Last task: FIndRange
def ranger(a, b):
for i in range(a, b):
print(i)

ranger(int(input()), int(input()))

Aarbee-de
Автор

def findevenorodd(operation):
a=int(input())
If(a%2==0):
Print("even")
else:
Print("odd")
Findevenorodd(10)

Shelton_D
Автор

num=int(input("enter a number"))
def evenorodd():
if(num%2==0):
print(num, "is even")
else:
print(num, "is odd")

evenorodd()

Karthik-fnio
Автор

Def exam () :
a = int ( input ( " Enter ur mark ))
b = 35
If a < b :
Print (" sry you are fail ")
else :
Print ( " you are pass ")
Exam ()

im_sanjayy
Автор

It is very simple and easy to understand the concept, thank you so much.

carolinebonpapa
Автор

Q3
def arjun(a):
if(a>35):
print ("pass ")
else:
print ("fail")
b=int (input ("enter the mark:"))
arjun(b)

Output
enter the mark:90
Pass

smiley_boy_arjun_
Автор

def findpassorfail(user):
user=int(input("Check whether pass or fail : "))
if user>=35:
print("You have passed")
else:
print("You have failed")
findpassorfail(user)

subashsmiles
Автор

tested code for even or odd
def even_odd():
num=int(input("enter a:"))
if (num%2==0): #if even div by 2
print("number is even")
else:
print("number is odd")
even_odd()

rajivanjr
Автор

def passorfail(mark):
if(mark>=35):
print("pass")
else:
print("fail")
passorfail(34)

Mohamed_Asraf
Автор

sir vunngalaa Mari enaku yarumeaaa solitharlaaa sir. Nanum neriyaaaa video pathaaa ethuvumaaa puriyalaaa negatha
a superaaaa solikoduthigaaa sir thanks ❤ gethuuu sir negaaa

ajedits