Part 3 | Functions | Python Malayalam Tutorial For Beginners | Python Coding Challenge

  Рет қаралды 112,148

Brototype Malayalam

Brototype Malayalam

Күн бұрын

Пікірлер
@vivek-bh6od
@vivek-bh6od 3 жыл бұрын
ingane oru kidukachi channel thodangiya karyam njn ipazha arinje. ithrem naal codingn vendi hindi channels kashtapett kand budhimutti orupaad. Anyway great initiative . :) :) :)
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
thanks man! 🙌🏼
@malavikasadasivan8291
@malavikasadasivan8291 3 жыл бұрын
Njaumm hindi channelbokke kandu Hindi padichu pgmming ithu varae padichilla. Avasanam cross roads ill ethiyapoyannu 5 kollamayiit enthannu padikkunathnnu mabasilayathu😁😁
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
heheh! Finally 🙌🏼
@ashikhp1675
@ashikhp1675 4 жыл бұрын
Simple calculator using python function print("calculaor") num1=int(input("enter two numbers:")) num2=int(input()) print(" 1.addition"" 2.substraction"" 3.multiplication"" 4.division") option=int(input("choose your option:")) def add(num1,num2): sum=num1+num2 print("The sum is: "+str(sum)) def sub(num1,num2): subr=num1-num2 print("The subraction result is: "+str(subr)) def multi(num1,num2): mul=num1*num2 print("The multiplication result is: "+str(mul)) def divi(num1,num2): div=num1/num2 print("The division result is: "+str(div)) if(option==1): add(num1,num2) elif(option==2): sub(num1,num2) elif(option==3): multi(num1,num2) elif(option==4): divi(num1,num2) else: print("Please select the 4 options only !!")
@BinHaneef
@BinHaneef 4 жыл бұрын
# 4 types of function in python # 1.No argument, No return value def sample(): print("hello") sample() # 2.No argument, with return value def sample1(): a=10 b=20 sum = a + b return sum result = sample1() print(result) # 3.with argument, no return value def sample2(value): print("value is: " +str(value)) sample2(123) # 3.with argument, with return value def sample3(num1,num2): sum = num1 + num2 return sum result1 = sample3(12,24) print(result1)
@akhileshsooraj
@akhileshsooraj 3 жыл бұрын
# Below are four different codes which shows the examples of different types of functions method=int(input("Enter corresponding number for if you want to execute the sum in the desired type 1- With arguments are with return 2- With arguments without return 3- Without arguments with return 4- Without argument without return Type your option: ")) if method == 1: # Example of with arguments are with return def sum(a,b): result=a+b return result answer=sum(10,10) print (f"The answer is {sum(10,10)}") elif method == 2: # Example for with arguments without return def sum(a,b): result=a+b print("The answer is ",result) sum(10,10) elif method == 3: # Example with without arguments with return a = 10 b = 10 def sum(): result=a+b return result answer=sum() print ("The answer is "+str(answer)) elif method == 4: # Example without argument without return a=10 b=10 def sum(): result=a+b line=f"The answer is {result}" print(line) sum() else: print("You can select one of the given option only")
@praveennair2119
@praveennair2119 4 жыл бұрын
Its feeling super easy to code in Python. Thank u Crossroads Team for providing these videos
@abbysp9407
@abbysp9407 4 жыл бұрын
I was following eduerka and tech with Tim yt channels for python...but malayalathile class kooduthal understandable aanu...kudos crossroads
@mahirvahmad2149
@mahirvahmad2149 4 жыл бұрын
Telusko is the best
@ashiqueaizeb
@ashiqueaizeb 4 жыл бұрын
edureka nte paid course edtheeerno njhan
@nabeel8404
@nabeel8404 4 жыл бұрын
@@ashiqueaizeb certificate kittiyo
@prakashrvijay8382
@prakashrvijay8382 4 жыл бұрын
#without arguement without return def sum(): a=10 b=20 c=a+b print(c) sum() #with arguement without return def sum(a,b): c=a+b print(c) sum(10,20) #without arguement with return def sum(): a=10 b=20 c=a+b return c result=sum() print(result) #with arguement with return def sum(a,b): c=a+b return c result=sum(10,20) print(result)
@shaderone07
@shaderone07 4 жыл бұрын
# just a small shortcut that might help you guys: # for eg: name = "Crossroads" age = 1 # so ...usually.. you print like this : # print("Hi " + name + " so you are almost" + str(age) + " year old!") # instead, this is the shorthand trick ..if you want to call it print(f'Hi {name} so you are almost {age} year old') # Try it out and see what suits you!
@redstoneninja3375
@redstoneninja3375 3 жыл бұрын
tnx :)
@shaderone07
@shaderone07 3 жыл бұрын
@@redstoneninja3375 :) no probs
@shiharbinsidheeque1686
@shiharbinsidheeque1686 4 жыл бұрын
100K coding challengil ullathu polee daily tips add cheyythu kudee
@befitlifestyle5271
@befitlifestyle5271 2 жыл бұрын
#with argumet without return value def add(a,b): c=a+b print(c) add(12,10) #without argumet without return value def add(): a=10 b=20 c=a+b print(c) add() #with argumet with return value def add(a,b): c=a+b return c print(add(30,10)) #without argumet with return value def add(): a=30 b=40 return a+b print(add())
@joelbeapen2749
@joelbeapen2749 2 жыл бұрын
# With arguement but without return value def sum_of_numbers(num1, num2): sum = num1+num2 print(sum) sum_of_numbers(1, 2) # With arguement and return value def sum_of_numbers(): num1 = 1 num2 = 2 sum = num1+num2 print(sum) sum_of_numbers() # With arguement and return value def sum_of_numbers(num1, num2): sum = num1+num2 return sum print(sum_of_numbers(1, 2)) # Without arguement with return value def sum_of_numbers(): num1 = 1 num2 = 2 sum = num1+num2 return sum print(sum_of_numbers())
@muhammedthayyib9202
@muhammedthayyib9202 3 жыл бұрын
print('1.without arg and without return') a=33 b=12 def mult(): c=a+b print(c) mult() print("2. with argument without return") def mult(a,b): c=a*b print(c) mult(2,3) print("3.without argument with return") def mult(): c=a/b return c c=mult() print(c) print("4. with argument with return") def mult(x,y): z=x-y return z z=mult(88,18) print(z)
@_.adwaidh._3047
@_.adwaidh._3047 2 жыл бұрын
#function without argument a=10 b=20 def sum1(): res1 = a+b print("sum = "+ str(res1)) sum1() #function with one argument def sum2(num): res2 = num+50 print("sum = "+ str(res2)) sum2(10) #function wuth 2 arguments def sum3(num1,num2): res3 = num1+num2 print("sum = "+ str(res3)) sum3(30,40) #fuction with return value def sum4(num1, num2): res4=num1+num2 return res4 result= sum4(50,30) print("sum = "+ str(result))
@navaneeth5420
@navaneeth5420 Жыл бұрын
#Example of with arguments with return def add(num1,num2): add=num1+num2 return result result=add(10,20) print(result) #Example of with arguments without return def add(num1,num2): res=num1+num2 print(res) add(20,20) #Example with without arguments with return a=20 b=30 sum=a+b print(sum) #Example without argument without return a=10 b=20 def sum(): result=a+b return result answer=sum() print(answer)
@ahsanzakir3227
@ahsanzakir3227 4 жыл бұрын
# Calculater program using functions num1 = int(input("Enter two numbers : ")) num2 = int(input()) # Function with argument without return value def sum(num1, num2): result = num1 + num2 print("Result is : " + str(result)) # Function with argument and return value def minus(a, b): result = a - b return (result) # Function without argument , with return value def multiplication(): result = num1 * num2 return (result) # Function without argument , without return value def division(): result = num1 / num2 print("Result is : " + str(result)) choice = int(input("Select your choice : 1.Addition 2.Subraction 3.Multiplication 4.Division ")) if choice == 1: sum(num1, num2) elif choice == 2: result = minus(num1, num2) print("Result is : " + str(result)) elif choice == 3: result = multiplication() print("result is : " + str(result)) elif choice == 4: division()
@abu3099
@abu3099 4 жыл бұрын
Good content good presentation Best👍💯👍💯👍💯 class🎊🎊 Thank you sir for this valuable information
@arfexadstoloesthomas7615
@arfexadstoloesthomas7615 4 жыл бұрын
function without argument and return value def fun(): print("hello bro") fun() function with argument and no return value def a(num1,num2): result=int(num1)+int(num2) print("result is " +str(result)) a(8,8) function with argument and return value def b(num3,num4): result1=int(num3)+int(num4) return result1 result1= b(8,10) print("result is" +str(result1)) function without argument and with return value def add(): num5=10 num6=20 result2=int(num5)+int(num6) return result2 solution=add() print("result is" +str(solution))
@hilariouscoder7203
@hilariouscoder7203 4 жыл бұрын
length = int(input("Enter The Length : ")) breadth = int(input("Enter The Breadth : ")) def fun1(): # No arguments nor return values print("Function 1 : ", (length * breadth)) def fun2(): # No arguments but has a return value return length * breadth def fun3(side1, side2): # Has Both arguments as well as return values return side1 * side2 def fun4(side1, side2): # Has Argument but no return value print("Function 4 : ", (length * breadth)) fun1() print("Function 2 : ",fun2()) print("Function 3 : ",fun3(length,breadth)) fun4(length,breadth)
@aahilshi5511
@aahilshi5511 3 жыл бұрын
Always add description box links of previous parts. Make easy access for late viewers
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
Noted 👍🏼
@srlsec
@srlsec 4 жыл бұрын
Thank You Team CROSSROADS
@axw7775
@axw7775 4 жыл бұрын
# Four functions # Function one no arguments def func1(): numberone = 10 numbertwo = 20 sum = numberone + numbertwo print(sum) # Function two with arguments def func2(numberone=100, numbertwo=200): sum = numberone + numbertwo print(sum) # Function one arguments passing def fucnc3(numberone, numbertwo): sum = numberone + numbertwo print(sum) # Function with return value def func4(numberone, numbertwo): sum = numberone + numbertwo return sum # functions calling func1() func2() fucnc3(100, 777) rfunction = func4(555, 777) print(rfunction)
@ramanannair9947
@ramanannair9947 2 жыл бұрын
Keep uploading videos bro, it helped me lot. Great thanks to all your team. Keep going.✨✨✨💥✌️✌️
@adarshs1750
@adarshs1750 4 жыл бұрын
function 1: def sum11(): a = int(input("enter you first number")) b = int(input("enter you second number")) sum=a + b return sum print(sum11()) function 2: def sum11(a=int(input("enter you first number")), b=int(input("enter you second number"))): Sum1 = a + b print(Sum1) sum11() function 3: def sum11(a=int(input("enter you first number")), b=int(input("enter you second number"))): sum=a+b return sum result=sum11() print( result) function 4: def sum11(): a = int(input("enter you first number")) b = int(input("enter you second number")) sum=a+b print(sum) sum11()
@roopeshsivam
@roopeshsivam 4 жыл бұрын
x = lambda a,b : a + b x(20,30)
@basilkgeorge3185
@basilkgeorge3185 8 ай бұрын
def hello(): print("without argument without return value") def hello1(a,b): print("with "+a+" without " + b+" value") def hello2(): a="without Argument" b=" with return value" sum=a+b return sum def hello3(a,b): sum=("with "+a)+("with"+b) return sum hello() hello1("Argument","Return") sum=hello2() print(sum) add=hello3("argument and ","return value") print(add)
@fun_childdhood
@fun_childdhood 4 жыл бұрын
Sir i hope you will be covering the topics like python decorators and generators in this course.Thank you for these awesome tutorials.
@rona2243
@rona2243 4 жыл бұрын
Python program with 4 Type Function (finding sum) #Function with Argument Without return Value def sum(num1,num2): print(num1+num2) sum(12,13) #Function with Argument With return Value def sum1(num1,num2): return(num1+num2) print(sum1(34,44)) #Function without Argument Without return Value def sum2(): sum=1+2 print(sum) sum2() #Function with return value Without argument def sum3(): sum=20+30 return(sum) print(sum3())
@honeylalmj9000
@honeylalmj9000 Жыл бұрын
num1 = 5 num2 = 5 #No argument No return value def sum() : print("sum") sum() #No argument with return value def sub(): a= 3 b= 5 add = a+b return add result = sub() print (result) #with argument no return value def mul(num1, num2): mul = num1*num2 print(mul) mul(num1,num2) #with argument with return value def div(num1,num2): if num2 ==0: print("error") else: div = num1/num2 return div result = div(num1,num2) print(result)
@JobinSelvanose
@JobinSelvanose 4 жыл бұрын
*4 TYPE OF FUNCTIONS* # function without argument and without return value def function(): side1 = int(input("Enter the side of the Square : ")) area1 = side1 * side1 print("Area of the square is : " + str(area1)) function() # function with argument and without return value def function2(value): area2 = value * value print("Area of the square is : " + str(area2)) side2 = int(input("Enter the side of the Square : ")) function2(side2) # function without argument and with return value def function3(): side3 = int(input("Enter the side of the Square : ")) area3 = side3 * side3 return area3 area3 = function3() print("Area of the square is : " + str(area3)) # function with argument and with return value def function4(value): area = value * value return area side = int(input("Enter the side of the Square :")) area = function4(side) print("Area of the square is : " + str(area))
@rayyanrasheed3985
@rayyanrasheed3985 4 жыл бұрын
njan english tutorial noki padikuka aayirunnu but ath thudakathil kollam but pinne boor aayi but crossroads boor aakunnilla ennik ishtaayi
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
♥️
@ftmtalks6957
@ftmtalks6957 4 жыл бұрын
ആദ്യം പഠിപ്പിച്ചിരുന്ന രീതി എനിക്ക് നന്നായിട്ട് ഇഷ്ടപ്പെട്ടിരുന്നു പക്ഷേ ഇതെന്തോ മനസ്സിലാകാത്ത പോലെ . എന്തോ ഒരു കുറവ് ഫീൽ ചെയ്യുന്നത് I don't know why
@ajmalbinnizam
@ajmalbinnizam 4 жыл бұрын
Enikum anubhavapettu... learning inta edayil oru kadha parachilo, thamashayo eleel oru rasam illaa
@ftmtalks6957
@ftmtalks6957 4 жыл бұрын
@@ajmalbinnizam aaaa
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Kadhayellam basic codingil paranjallonu vachu ithil just kurachatha. Ithu vegam theerthu web development and other applications oke varumbo kure kadha parayan undavum. Basic coding paranja kadha thanne ithil paranju boradipikanda vijarichatha. Ithu pettannagu theerthitu web app oke develop cheyyaumbo kure stories oke varum. Dnt wrry.
@ftmtalks6957
@ftmtalks6957 4 жыл бұрын
@@BrototypeMalayalam ok thanks
@muhsikondottymk4795
@muhsikondottymk4795 4 жыл бұрын
@@BrototypeMalayalam chilath manasilakunnund chilath confusion ann ennalum koyapom ella i will try
@akhilac876
@akhilac876 4 жыл бұрын
# 1) Function without argument and return type def sum(): num1=1 num2=2 result=num1+num2 print("Sum = "+ str(result)) sum() # 2) Function with argument and without return type def sum1(num1,num2): result=num1+num2 print("Sum = "+ str(result)) num1=3 num2=4 sum1(num1,num2) # 3) Function without argument and with return type def sum2(): num1=5 num2=6 result=num1+num2 return result s=sum2() print("Sum = "+ str(s)) # 4) Function with argument and return type def sum3(num1, num2): result=num1+num2 return result num1=7 num2=8 p=sum3(num1,num2) print("Sum = "+str(p))
@shanujpanicker3073
@shanujpanicker3073 4 жыл бұрын
Python base projects koode onnu series pole kanikuo,, appol korachoode manassil akan patum, evide oke use cheyam enn..
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Calculator project video nammal cheyum👍
@bibinbaby293
@bibinbaby293 4 жыл бұрын
Very very informative
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Thanks bro
@Jk_the_rover
@Jk_the_rover 4 жыл бұрын
#function with arguments without return value def sum(a, b): print(a + b) sum(4, 5) #function without argument or return value def sum2(): a = 5 b = 10 print(a + b) sum2() #function with arguments and return value def sum3(c, d): return (c + d) print(sum3(10, 20)) #function without arguments having return value def sum4(): a = 25 b = 35 return (a + b) print(sum4())
@techwithmohamed4889
@techwithmohamed4889 4 жыл бұрын
function without argument without return value : def sum(): num1 = int(input("Enter two numbers")) num2 = int(input()) result = num1+num2 print("Result is: " + str(result)) sum() function with argument without return value : def sample(num1, num2): sum=num1+num2 print(sum) num=int(input("Enter two numbers")) nu=int(input()) sample(nu, num) function with argument with return value : def sum(num1, num2): result = num1 + num2 return result n1 = int(input("Enter two numbers")) n2 = int(input()) answer = sum(n1, n2) print("Result is: " + str(answer)) function with return value without argument : def sum(): num1=int(input("Enter two numbers")) num2=int(input()) sum=num1+num2 return sum result = sum() print("Result is: " + str(result)) Iam an 8th standard student enikk oru tech base aayittulla career inte road map paranju tharumoo eniik java, c enniva ariyaam,. njaan 100k coding challenge padichathu kaaranamaan. njaan ningalude web designing adutha 20 divasathinullil padichedukkum
@adarshmm6486
@adarshmm6486 4 жыл бұрын
Function with argument , without return value : def sample(num1, num2): sum = num1 + num2 print("sum is "+str(sum)) sample(int(input("Enter 1 st number")), int(input("Enter 2 nd number"))) Function without argument , without return value : num1=int(input("Enter 1st value")) num2=int(input("Enter 2nd value")) def sample(): sum=num1+num2 print("sum is "+str(sum)) sample() Function without argument , with return value: num1=int(input("Enter 1 st number")) num2=int(input("Enter 2 nd number")) def sample(): sum=num1+num2 return sum result = sample() print("sum is "+str(result)) Function with argument , with return value: def sample(num1,num2): sum=num1+num2 return sum result = sample(int(input("enter 1st number")),int(input("enter 2 nd number"))) print("sum is "+str(result))
@devusumesh5561
@devusumesh5561 Жыл бұрын
# function 1 with argument with return value def sample(num1, num2): sum = num1 + num2 return sum a = int(input('Enter two numbers: ')) b = int(input()) print('-------') sample(a, b) print(result) # function 2 with argument without return value def sample(num1,num2): sum=num1+num2 print(sum) a = int(input('Enter two numbers: ')) b = int(input()) print('-------') result = sample(a, b) # function 3 without argument with return value def sample(sum): a = int(input('Enter two numbers: ')) b = int(input()) print('-------') sum=a+b return sum result =sample(sum) print(result) # function 4 without argument without return value def sample (): a = int(input('Enter two numbers: ')) b = int(input()) print('-------') sum = a + b print(sum) sample()
@hashilsemin2414
@hashilsemin2414 4 жыл бұрын
kidu
@ashikhp1675
@ashikhp1675 4 жыл бұрын
#with argument with return value def sum(num1,num2): k=num1+num2 return k num1=int(input("enter first number:")) num2=int(input("enter second number:")) k=sum(num1,num2) print("the sum is: "+str(k)) ------------------------------------------------------------------------------------------------------------ #without argument with return value def sum(): num1=int(input("enter first number:")) num2=int(input("enter second number:")) k=num1+num2 return k c=sum() print("the sum is: "+str(c)) ------------------------------------------------------------------------------------------------------------ #with argument without return value def sum(a,b): c=a+b print("the sum is: "+str(c)) num1=int(input("enter first number:")) num2=int(input("enter second number:")) sum(num1,num2) ----------------------------------------------------------------------------------------------------------- #without argument without return value def sum(): num1=int(input("enter first number:")) num2=int(input("enter second number")) c=num1+num2 print("thee sum is: "+str(c)) sum()
@muhammedshareef2611
@muhammedshareef2611 4 жыл бұрын
Programing padippikkan ariyaatha orupaad teachermar nd Ithoke kanumbo avre edth kinattilidaan thonnune😆
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
😅
@rona2243
@rona2243 4 жыл бұрын
thanks for taking so much effort sir
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
❤️🥰
@gokulhari9402
@gokulhari9402 4 жыл бұрын
Thank u so much sir
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Most welcome
@shaharbismp
@shaharbismp Жыл бұрын
(1) WITH ARGUMENT AND WITH RETURN VALUE def display(num1, num2): total = num1 + num2 return total result = (display(20,23)) print(result) (2) WITH ARGUMENT AND WITHOUT RETURN VALUE def brought(Beef, Chicken): prize = Beef + Chicken print(prize) brought(Beef=350,Chicken=300) (3) WITHOUT ARGUMENT AND WITH RETURN VALUE def display(): num1 = 20 num2 = 30 calculate = num1 + num2 print(calculate) return calculate display() (4) WITHOUT ARGUMENT AND WITHOUT RETURN VALUE def sample(): potato = 100 tomato = 100 total = potato + tomato print(total) sample()
@irshadulmuslimeenmadrasa7445
@irshadulmuslimeenmadrasa7445 4 жыл бұрын
#with argument without return value def sum(num1, num2): sum = num1+num2 print sum sum(int(input("num1 ")), int(input("num2 "))) #with no argument with return value def sum(): num1=int(input("num1 ")) num2=int(input("num2 ")) sum = num1+num2 return sum result = sum() print result #without argument and return value def sum(): num1=int(input("num1 ")) num2=int(input("num2 ")) sum = num1+num2 print (sum) sum() # with argument and return value def sum(num1 , num2): sum = num1+num2 return sum result = sum(int(input("num1 ")),int(input("num2 "))) print (result)
@digitalmachine0101
@digitalmachine0101 Жыл бұрын
Good information
@josecherian4665
@josecherian4665 4 жыл бұрын
Good
@abhishekmohan1316
@abhishekmohan1316 4 жыл бұрын
Function with No Arguments, and No Return Value def Adding(): a = 20 b = 30 Sum = a + b print("After Calling the Function:", Sum) Adding() Function with No Arguments, and with Return Value def Sum(): a = 10 b = 25 Sum = a * b return Sum print("After Calling the Multiplication Function: ", Sum()) Function with Arguments, and NO Return Value def Sum(a, b): Sum = a * b print("After Calling the Function:", Sum) Sum(10, 20) Function with Arguments, and with Return Value def Addition(a, b): Sum = a + b return Sum
@bijoybaby6024
@bijoybaby6024 Жыл бұрын
Super class
@sagarganesh6124
@sagarganesh6124 4 жыл бұрын
Good teaching sir..
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Thanks bro
@TekZee
@TekZee 3 жыл бұрын
function print() kodukkan pattumo 🤔🤔🤔
@yackobjoseph514
@yackobjoseph514 4 жыл бұрын
Chettha thx for everything . Best laptop for programming onne cheyyavo
@mhmdshbn
@mhmdshbn 4 жыл бұрын
അവരുടെ ചാനലിൽ und
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
video ind.. kand nokku! kzbin.info/www/bejne/oZKTiHxvrsxkiLs
@althaf1995
@althaf1995 Жыл бұрын
#function without aurgument with return value def calculate_sum(): num1 = 5 num2 = 10 sum = num1 + num2 return sum result = calculate_sum() print(result) #function without aurgument without return value def my_function(): print("Hello, World!") my_function() #function with aurgumanent without return value def sample(name): print("Hello, " + name + "!") sample("Althaf") #function without aurgument with return value def hello(): return "Hello, World!" message = hello() # Print the returned value print(message)
@shafikoyamma
@shafikoyamma 4 жыл бұрын
# function 1 no argument and no return def hey(): print("hello this is no argument no return function") # funtion 2 with argument no return def hellow(name): print("Hellow, Your name is " + name) # funtion 3 with argument with reutrn def multi(num1, num2): return num1 * num2 # function 4 no argument with return def message(): messag = "Please consider this as a default alert message" return messag # 1 hey() # 2 hellow("shafi") # 3 print(multi(25, 12)) # 4 print(message())
@khalidbinalik2484
@khalidbinalik2484 4 жыл бұрын
ENTER TWO NUMBERS TO ADDITION 10 20 FUNCTION WITHOUT ARGUMENTS AND RETURN VALUE 30 FUNCTION WITH ARGUMENTS WITHOUT RETURN VALUE 30 FUNCTION WITHOUT ARGUMENTS WITH RETURN VALUE 30 FUNCTION WITH ARGUMENTS AND RETURN VALUE 30 number1 = int(input("ENTER TWO NUMBERS TO ADDITION ")) number2 = int(input()) def sum1(): print("FUNCTION WITHOUT ARGUMENTS AND RETURN VALUE") sum = number1 + number2 print(sum) def sum2(num1, num2): print("FUNCTION WITH ARGUMENTS WITHOUT RETURN VALUE") sum = num1 + num2 print(sum) def sum3(): print("FUNCTION WITHOUT ARGUMENTS WITH RETURN VALUE") sum = number1 + number2 return sum def sum4(num1, num2): print("FUNCTION WITH ARGUMENTS AND RETURN VALUE") sum = num1 + num2 return sum sum1() sum2(number1, number2) result1 = sum3() print(result1) result2 = sum4(number1, number2) print(result2)
@ashnasanam217
@ashnasanam217 3 жыл бұрын
Can I get the certificate after the completion of the whole tutorial?
@AninArafath
@AninArafath 4 жыл бұрын
Tnnx
@akshaymohan4334
@akshaymohan4334 3 жыл бұрын
23:50 അപ്പോൾ ആ name ,place എന്നത് കാണിക്കാതെ വെറും "നിഖിൽ,മലപ്പുറം" എങ്ങനെ പ്രിന്റ് ചെയ്യും?
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
4th linil place print cheyyunnund, athupole print cheythal mathi.
@aswathyvimal2872
@aswathyvimal2872 4 жыл бұрын
How can increment the global variable value in function?
@tyson_gmg
@tyson_gmg Жыл бұрын
ethil stringlott conert cheyunnelum nallath just orr comma use chyune alle---> print("My name is ", name, "and age is : ", age)
@BrototypeMalayalam
@BrototypeMalayalam Жыл бұрын
Join the Learning Club, our tech support will help you. Join here: brototype.com/learningclub/org/fullstack/?ref=ytdescription
@fysalkt
@fysalkt 4 жыл бұрын
def message(): print("Welcome To Simple Calculator.") def prompt(text): return input(text) def add(val1=0, val2=0): if operation == "1": sum = val1+val2 elif operation == "2": sum = val1 - val2 elif operation == "3": sum = val1 * val2 elif operation == "4": sum = val1 / val2 else: sum = "Invalid Option" return sum def answer(sum): print(sum) def menu(): print("Press 1 : Add") print("Press 2 : Substract") print("Press 3: Multiplication") print("Press 4: Divide") message() val1 = prompt("Enter First Number:") val2 = prompt("Enter Secont Number") menu() operation = prompt("Select Operation:") sum = add(int(val1), int(val2)) answer(sum)
@rona2243
@rona2243 4 жыл бұрын
easy ayi ellama mansillakunundu
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Thanks to hear that word's
@homelander4881
@homelander4881 10 ай бұрын
print("**NO ARGUMENT NO RETURN VALUE**") def display1(): num1 = int(input("Enter two numbers: ")) num2 = int(input()) sum = num1 + num2 print("Sum is " + str(sum)) display1() print("**WITH ARGUMENT NO RETURN VALUE**") def display2(value1, value2): sum = value1 + value2 print("Sum is " + str(sum)) num1 = int(input("Enter two numbers: ")) num2 = int(input()) display2(num1, num2) print("**WITHOUT ARGUMENT WITH RETURN VALUE**") def display3(): num1 = int(input("Enter two numbers: ")) num2 = int(input()) return (num1+num2) sum = display3() print("Sum is " + str(sum)) print("**WITH ARGUMENT WITH RETURN VALUE**") def display4(value1, value2): return (value1+value2) num1 = int(input("Enter two numbers: ")) num2 = int(input()) sum = display4(num1, num2) print("Sum is " + str(sum))
@akshayraj4683
@akshayraj4683 3 жыл бұрын
value=10 def sample(): v=value+1 print(value) sample() print(value) This code gives output 10 and 10 only, but in my understanding it should print 11 as i am adding 1 to the global variable inside the function and then printing it ,(can you please correct this)
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
Connect to our team, we will help you +919061748014 ❤️
@kavithavijish5399
@kavithavijish5399 3 жыл бұрын
Printil value alle print akiyekunne v print chydu noku bro
@mhdbilalk4701
@mhdbilalk4701 4 жыл бұрын
Brother......game development kurich class conduct cheyo...
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Will try. kure tutorials pending ind.
@mhdbilalk4701
@mhdbilalk4701 4 жыл бұрын
@@BrototypeMalayalam brother... pettan onum venda.... ellaum tutorial kazhijitt mathi tto. And thank you to accept my request and Keep going my brother.
@srehh2077
@srehh2077 3 жыл бұрын
print cheyumbo comma itttal mathille ? concatenation inu pakaram
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
Yes
@abhinavabish8062
@abhinavabish8062 4 жыл бұрын
Sir rasberry pi or other microcontroller programing cheyiamo
@uppauppa3606
@uppauppa3606 2 жыл бұрын
Assume you want to build two functions for discounting products on a website. Function number 1 is for student discount which discounts the current price to 10%. Function number 2 is for additional discount for regular buyers which discounts an additional 5% on the current student discounted price. Depending on the situation, we want to be able to apply both the discounts on the products. Design the above two mentioned functions and apply them both simultaneously on the price. Bro idhinte code onn parannu tharaamo
@aybin.v.k9562
@aybin.v.k9562 Жыл бұрын
got solution?
@pranavps1373
@pranavps1373 4 жыл бұрын
Python program to add two numbers using function def add_num(a,b): sum=a+b; return sum; num1=25 num2=55 print("The sum is",add_num(num1,num2))
@dhan1913
@dhan1913 3 жыл бұрын
How to write a program that calculates and displays the sum of the first 1000 integers?.Could you please help?
@gokulhari9402
@gokulhari9402 4 жыл бұрын
Sir python machine learning oru series aayit cheyaamo🙏
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Cheyyam
@events4089
@events4089 4 жыл бұрын
def sample(num1,num2): sum=num1+num2 return sum result=sample(10,15) print(result) ivide enthukonde print(str(result)) ingane cheyyunnilla please explain
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
pls ask your doubts in telegram group, our technical team is only available in telegram group.
@muhsikondottymk4795
@muhsikondottymk4795 4 жыл бұрын
e pythonum nodjus thamil bantham undo
@kibrobijunewfan
@kibrobijunewfan Жыл бұрын
c=str(input("+,-,*,/")) d=str.lower(input("int or float? ")) if d==("int"): if c==("+"): a = int(input("1 namber? ")) b = int(input("2 namber? ")) sum = (a+b) print(sum) elif c==("-"): a = int(input("1 namber? ")) b = int(input("2 namber? ")) sum = (a - b) print(sum) elif c==("*"): b = int(input("2 namber? ")) a = int(input("1 namber? ")) sum = (a * b) print(sum) elif c==("/"): a = int(input("1 namber? ")) b = int(input("2 namber? ")) sum = (a / b) print(sum) if d==("float"): if c==("+"): a = int(input("1 namber? ")) b = int(input("2 namber? ")) sum = (a+b) print(sum) elif c==("-"): a = int(input("1 namber? ")) b = int(input("2 namber? ")) sum = (a - b) print(sum) elif c==("*"): b = int(input("2 namber? ")) a = int(input("1 namber? ")) sum = (a * b) print(sum) elif c==("/"): a = int(input("1 namber? ")) b = int(input("2 namber? ")) sum = (a / b) print(sum)
@craftskerala7653
@craftskerala7653 4 жыл бұрын
എനിക്ക് ഒരു ഉപകാരം ചെയ്യുമോ dib file formate എങ്ങിനെ clear ചെയാം
@akashk.a2964
@akashk.a2964 4 жыл бұрын
Phonil coding padikkunathum computeril padikkunathum thammil valiya vyathyasam undakumo.
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Better lap annu
@ajmalshahirak7370
@ajmalshahirak7370 3 жыл бұрын
👍🔥❤
@Pranavdazzler
@Pranavdazzler Жыл бұрын
Django series thudagunnille
@BrototypeMalayalam
@BrototypeMalayalam Жыл бұрын
will do soon
@psychootechy5243
@psychootechy5243 2 жыл бұрын
Broo video okkee kollam but ee code okke enganyaa kanatha padikkunee
@abdulhakeemkzm4149
@abdulhakeemkzm4149 4 жыл бұрын
👌👌👌
@prajithar6174
@prajithar6174 2 жыл бұрын
Basic coding inte tutorial evidunnaa kittum ?
@BrototypeMalayalam
@BrototypeMalayalam 2 жыл бұрын
kzbin.info/www/bejne/pnXQdoyInd6oqbc
@Hashir_musthafa
@Hashir_musthafa Жыл бұрын
Tuples il search cheyyuna function ethaa ????
@BrototypeMalayalam
@BrototypeMalayalam Жыл бұрын
Join the Learning Club, our tech support will help you. Join here: brototype.com/learningclub/org/fullstack/?ref=ytdescription
@Hashir_musthafa
@Hashir_musthafa Жыл бұрын
@BrototypeMalayalam ente bro aa groupil njn pandee join aakkeekk athil oru correct reply aarum tharathoonda ivde choiche. Onn answer tharunnathinn entha problem . Athinte koode ee promotion cheytha poore . Enthaan bro . Brototypinte ella tele channelilum njn joined aan. Ella channelum subscribedum aan . Almost crossroads muthal njn ninghale follow cheyyunnund . Ee aduthaayittaan ingane ulla replies okkke varaan thudangiyath. Enthaan bro oru doubt chothichaal ingene🤌🏻🤦🏻.
@parveenr7102
@parveenr7102 4 жыл бұрын
Adipoli
@parveenr7102
@parveenr7102 4 жыл бұрын
Sir enik examan model.. Tanku sir, sirinte class nannayi ubakaram pettu and I am ur new subscriber I hope u more vedios
@vishnuj2110
@vishnuj2110 2 жыл бұрын
Age intai avidai int allai varendath?
@BrototypeMalayalam
@BrototypeMalayalam 2 жыл бұрын
yes
@RahulDas-bc9wi
@RahulDas-bc9wi 4 жыл бұрын
Sir is there any chance to meet you if there please send reply
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
You may contact on Instagram IG: nikhilkilivayil
@sahad369
@sahad369 3 жыл бұрын
async def cheyyuvo
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
manasilayilla! enthanu udeshichathu?
@binib.s5139
@binib.s5139 4 жыл бұрын
🥰👍
@sarfrasnasim9112
@sarfrasnasim9112 4 жыл бұрын
poli
@arjunag4830
@arjunag4830 4 жыл бұрын
3rd.day.......
@adhilmuhammed2005
@adhilmuhammed2005 4 жыл бұрын
👍
@rehnas3420
@rehnas3420 4 жыл бұрын
Pass statement nthanenn noki erangiyatha ???
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Pass statement is a null statement
@bver8536
@bver8536 4 жыл бұрын
Bro ente kayil lap illa enikke phonil code cheyan pattumooo
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
Cheyam but bhuthimutt annu Better lap annu
@bver8536
@bver8536 4 жыл бұрын
@@BrototypeMalayalam ethe app anne enne pareyamoo.
@muhammedshareef2611
@muhammedshareef2611 4 жыл бұрын
@@bver8536 pyroid 3 From play store
@loki_glorious_purpose
@loki_glorious_purpose 4 жыл бұрын
Thank you sir❤️
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
❤️
@jovitmathew3574
@jovitmathew3574 4 жыл бұрын
# > # 1.without argument & without return value def add(): a = 1 b = 2 result1 = a + b print(result1) add() # 2.with argument & without return value def add(num1, num2): result2 = num1 + num2 print(result2) add(1, 2) # 3.without argument & with return value def add(): num1 = 1 num2 = 2 result3 = num1 + num2 return result3 result = add() print(result) # 4.with argument & with return value def add(num1, num2): result4 = num1 + num2 return result4 result = add(1, 2) print(result)
@rahulnathc
@rahulnathc 4 жыл бұрын
basic coding tutorials evidyane ullathe!!!
@akhilsubhash5825
@akhilsubhash5825 3 жыл бұрын
100k coding challenge
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
100k Coding Challenge kzbin.info/aero/PLY-ecO2csVHeKaBI7lAM1jbIPU8K6fUxY
@arun1380
@arun1380 3 жыл бұрын
Definition ezhuthirr colon kodukunna enthinan
@BrototypeMalayalam
@BrototypeMalayalam 3 жыл бұрын
Connect our team in Telegram 7034395811, our team will help you
@shamilk6225
@shamilk6225 4 жыл бұрын
😍😍
@nourinkt684
@nourinkt684 4 жыл бұрын
👍👍👍🙌
@BrototypeMalayalam
@BrototypeMalayalam 4 жыл бұрын
✌️
@shafikoyamma
@shafikoyamma 4 жыл бұрын
ക്ലാസിൽ കുറച്ച് കൂടി കണ്ടന്റ് ഉൾപ്പെടുത്താമെന്നാണു അഭിപ്രായം,.. കണ്ടന്റ് കൊണ്ട് ഉദ്ദേശിക്കുന്നത്,.. കുറച്ച് കൂടി പാഠഭാഗങ്ങൾ ഉൾപ്പെടുത്തി, അല്പം കൂടി വീഡിയോ ലെങ്ങ്ത് കൂട്ടി ആക്കാം.. കഴിഞ്ഞ ക്ലാസുകൾ ഒക്കെ അങ്ങനെ ആയിരുന്നു,.. ഇത് വല്ലാതെ സിമ്പിളും ചെറുതും ആയ പോലെ ഉണ്ട്,.. ((ഞാൻ പൈതൻ ആദ്യമായാണു ചെയ്യുന്നത്,.. എന്നിട്ട് പോലും ഇങ്ങനെയാണു തോന്നുന്നത് :-(
@ambily6626
@ambily6626 4 жыл бұрын
You Used Sum As A Variable Rather Than As A Function
@bver8536
@bver8536 4 жыл бұрын
Bro ente age 17 anne njan science anne eduthekkunne +1.enikke ethe padikamo.
@praisepaul3545
@praisepaul3545 4 жыл бұрын
Manasundengil... Put efforts and you'll get success... Njanum oru +2 vidhyarthi aan(2020-21 batch). But by effort and determination, I make websites. Because of crossroads.🥰
Part 5 | OOPS | Python Malayalam Tutorial For Beginners | Python Coding Challenge
1:07:52
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 618 М.
Part 2 | Lists,Control Statements | Python Malayalam Tutorial For Beginners
30:51
#32 Python Tutorial for Beginners | Functions in Python
11:13
Telusko
Рет қаралды 1 МЛН
Will AI Replace Software Engineers? 😲
20:21
Brototype Malayalam
Рет қаралды 83 М.
Why This Madrasa Usthad Became a Software Engineer..!
28:19
Brototype Malayalam
Рет қаралды 43 М.
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 20 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН