ingane oru kidukachi channel thodangiya karyam njn ipazha arinje. ithrem naal codingn vendi hindi channels kashtapett kand budhimutti orupaad. Anyway great initiative . :) :) :)
@BrototypeMalayalam3 жыл бұрын
thanks man! 🙌🏼
@malavikasadasivan82913 жыл бұрын
Njaumm hindi channelbokke kandu Hindi padichu pgmming ithu varae padichilla. Avasanam cross roads ill ethiyapoyannu 5 kollamayiit enthannu padikkunathnnu mabasilayathu😁😁
@BrototypeMalayalam3 жыл бұрын
heheh! Finally 🙌🏼
@ashikhp16754 жыл бұрын
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 !!")
@BinHaneef4 жыл бұрын
# 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)
@akhileshsooraj3 жыл бұрын
# 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")
@praveennair21194 жыл бұрын
Its feeling super easy to code in Python. Thank u Crossroads Team for providing these videos
@abbysp94074 жыл бұрын
I was following eduerka and tech with Tim yt channels for python...but malayalathile class kooduthal understandable aanu...kudos crossroads
@mahirvahmad21494 жыл бұрын
Telusko is the best
@ashiqueaizeb4 жыл бұрын
edureka nte paid course edtheeerno njhan
@nabeel84044 жыл бұрын
@@ashiqueaizeb certificate kittiyo
@prakashrvijay83824 жыл бұрын
#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)
@shaderone074 жыл бұрын
# 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!
#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())
@joelbeapen27492 жыл бұрын
# 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())
@muhammedthayyib92023 жыл бұрын
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)
#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)
@ahsanzakir32274 жыл бұрын
# 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()
@abu30994 жыл бұрын
Good content good presentation Best👍💯👍💯👍💯 class🎊🎊 Thank you sir for this valuable information
@arfexadstoloesthomas76154 жыл бұрын
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))
@hilariouscoder72034 жыл бұрын
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)
@aahilshi55113 жыл бұрын
Always add description box links of previous parts. Make easy access for late viewers
@BrototypeMalayalam3 жыл бұрын
Noted 👍🏼
@srlsec4 жыл бұрын
Thank You Team CROSSROADS
@axw77754 жыл бұрын
# 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)
@ramanannair99472 жыл бұрын
Keep uploading videos bro, it helped me lot. Great thanks to all your team. Keep going.✨✨✨💥✌️✌️
@adarshs17504 жыл бұрын
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()
@roopeshsivam4 жыл бұрын
x = lambda a,b : a + b x(20,30)
@basilkgeorge31858 ай бұрын
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_childdhood4 жыл бұрын
Sir i hope you will be covering the topics like python decorators and generators in this course.Thank you for these awesome tutorials.
@rona22434 жыл бұрын
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 Жыл бұрын
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)
@JobinSelvanose4 жыл бұрын
*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))
@rayyanrasheed39854 жыл бұрын
njan english tutorial noki padikuka aayirunnu but ath thudakathil kollam but pinne boor aayi but crossroads boor aakunnilla ennik ishtaayi
@BrototypeMalayalam4 жыл бұрын
♥️
@ftmtalks69574 жыл бұрын
ആദ്യം പഠിപ്പിച്ചിരുന്ന രീതി എനിക്ക് നന്നായിട്ട് ഇഷ്ടപ്പെട്ടിരുന്നു പക്ഷേ ഇതെന്തോ മനസ്സിലാകാത്ത പോലെ . എന്തോ ഒരു കുറവ് ഫീൽ ചെയ്യുന്നത് I don't know why
@ajmalbinnizam4 жыл бұрын
Enikum anubhavapettu... learning inta edayil oru kadha parachilo, thamashayo eleel oru rasam illaa
@ftmtalks69574 жыл бұрын
@@ajmalbinnizam aaaa
@BrototypeMalayalam4 жыл бұрын
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.
@ftmtalks69574 жыл бұрын
@@BrototypeMalayalam ok thanks
@muhsikondottymk47954 жыл бұрын
@@BrototypeMalayalam chilath manasilakunnund chilath confusion ann ennalum koyapom ella i will try
@akhilac8764 жыл бұрын
# 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))
@shanujpanicker30734 жыл бұрын
Python base projects koode onnu series pole kanikuo,, appol korachoode manassil akan patum, evide oke use cheyam enn..
@BrototypeMalayalam4 жыл бұрын
Calculator project video nammal cheyum👍
@bibinbaby2934 жыл бұрын
Very very informative
@BrototypeMalayalam4 жыл бұрын
Thanks bro
@Jk_the_rover4 жыл бұрын
#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())
@techwithmohamed48894 жыл бұрын
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
@adarshmm64864 жыл бұрын
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 Жыл бұрын
# 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()
@hashilsemin24144 жыл бұрын
kidu
@ashikhp16754 жыл бұрын
#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()
(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()
@irshadulmuslimeenmadrasa74454 жыл бұрын
#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 Жыл бұрын
Good information
@josecherian46654 жыл бұрын
Good
@abhishekmohan13164 жыл бұрын
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 Жыл бұрын
Super class
@sagarganesh61244 жыл бұрын
Good teaching sir..
@BrototypeMalayalam4 жыл бұрын
Thanks bro
@TekZee3 жыл бұрын
function print() kodukkan pattumo 🤔🤔🤔
@yackobjoseph5144 жыл бұрын
Chettha thx for everything . Best laptop for programming onne cheyyavo
@mhmdshbn4 жыл бұрын
അവരുടെ ചാനലിൽ und
@BrototypeMalayalam4 жыл бұрын
video ind.. kand nokku! kzbin.info/www/bejne/oZKTiHxvrsxkiLs
@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)
@shafikoyamma4 жыл бұрын
# 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())
@khalidbinalik24844 жыл бұрын
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)
@ashnasanam2173 жыл бұрын
Can I get the certificate after the completion of the whole tutorial?
@AninArafath4 жыл бұрын
Tnnx
@akshaymohan43343 жыл бұрын
23:50 അപ്പോൾ ആ name ,place എന്നത് കാണിക്കാതെ വെറും "നിഖിൽ,മലപ്പുറം" എങ്ങനെ പ്രിന്റ് ചെയ്യും?
@BrototypeMalayalam3 жыл бұрын
4th linil place print cheyyunnund, athupole print cheythal mathi.
@aswathyvimal28724 жыл бұрын
How can increment the global variable value in function?
@tyson_gmg Жыл бұрын
ethil stringlott conert cheyunnelum nallath just orr comma use chyune alle---> print("My name is ", name, "and age is : ", age)
@BrototypeMalayalam Жыл бұрын
Join the Learning Club, our tech support will help you. Join here: brototype.com/learningclub/org/fullstack/?ref=ytdescription
@fysalkt4 жыл бұрын
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)
@rona22434 жыл бұрын
easy ayi ellama mansillakunundu
@BrototypeMalayalam4 жыл бұрын
Thanks to hear that word's
@homelander488110 ай бұрын
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))
@akshayraj46833 жыл бұрын
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)
@BrototypeMalayalam3 жыл бұрын
Connect to our team, we will help you +919061748014 ❤️
@kavithavijish53993 жыл бұрын
Printil value alle print akiyekunne v print chydu noku bro
@mhdbilalk47014 жыл бұрын
Brother......game development kurich class conduct cheyo...
@BrototypeMalayalam4 жыл бұрын
Will try. kure tutorials pending ind.
@mhdbilalk47014 жыл бұрын
@@BrototypeMalayalam brother... pettan onum venda.... ellaum tutorial kazhijitt mathi tto. And thank you to accept my request and Keep going my brother.
Sir rasberry pi or other microcontroller programing cheyiamo
@uppauppa36062 жыл бұрын
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 Жыл бұрын
got solution?
@pranavps13734 жыл бұрын
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))
@dhan19133 жыл бұрын
How to write a program that calculates and displays the sum of the first 1000 integers?.Could you please help?
@gokulhari94024 жыл бұрын
Sir python machine learning oru series aayit cheyaamo🙏
pls ask your doubts in telegram group, our technical team is only available in telegram group.
@muhsikondottymk47954 жыл бұрын
e pythonum nodjus thamil bantham undo
@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)
@craftskerala76534 жыл бұрын
എനിക്ക് ഒരു ഉപകാരം ചെയ്യുമോ dib file formate എങ്ങിനെ clear ചെയാം
Connect our team in Telegram 7034395811, our team will help you
@shamilk62254 жыл бұрын
😍😍
@nourinkt6844 жыл бұрын
👍👍👍🙌
@BrototypeMalayalam4 жыл бұрын
✌️
@shafikoyamma4 жыл бұрын
ക്ലാസിൽ കുറച്ച് കൂടി കണ്ടന്റ് ഉൾപ്പെടുത്താമെന്നാണു അഭിപ്രായം,.. കണ്ടന്റ് കൊണ്ട് ഉദ്ദേശിക്കുന്നത്,.. കുറച്ച് കൂടി പാഠഭാഗങ്ങൾ ഉൾപ്പെടുത്തി, അല്പം കൂടി വീഡിയോ ലെങ്ങ്ത് കൂട്ടി ആക്കാം.. കഴിഞ്ഞ ക്ലാസുകൾ ഒക്കെ അങ്ങനെ ആയിരുന്നു,.. ഇത് വല്ലാതെ സിമ്പിളും ചെറുതും ആയ പോലെ ഉണ്ട്,.. ((ഞാൻ പൈതൻ ആദ്യമായാണു ചെയ്യുന്നത്,.. എന്നിട്ട് പോലും ഇങ്ങനെയാണു തോന്നുന്നത് :-(
@ambily66264 жыл бұрын
You Used Sum As A Variable Rather Than As A Function
@bver85364 жыл бұрын
Bro ente age 17 anne njan science anne eduthekkunne +1.enikke ethe padikamo.
@praisepaul35454 жыл бұрын
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.🥰