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

Поділитися
Вставка
  • Опубліковано 20 чер 2020
  • 24/7 FREE Telegram Support! Sign Up Now:
    study.brototype.com/pythondev...
    In this tutorial we will discuss functions.
    Exclusive Membership Explanation Video: • Learn Coding Easily Fr...
    Link to 100K Coding Challenge:
    • 100K Coding Challenge
    Link to part 1 video : • Part 1 | Introduction ...
    Link to part 2 video : • Part 2 | Lists,Control...
    00:40 Function
    11:29 Global variable ,Local variable
    16:18 key word argument
    17:58 Default argument
    21:29 Dictionaries
    About us:
    #Brototype (Former Crossroads) is Kerala's #1 tech UA-cam channel for students looking to frame a good career in the tech industry. Our mission is to make a positive change in the lives of people by providing them with valuable information and actionable steps.
    In this channel,We help you develop coding skills for free by providing various programming tutorials & tech-career topics in Malayalam, that helps you achieve a job in the IT industry.
    To get 24/7 Technical support while watching our tutorials, Sign up for 6 months Brototype Malayalam (Former Crossroads) Exclusive Membership,
    Link to Sign up: rzp.io/l/crossroads-6Months-E...
    NRI(s) can make payment via bank transfer
    Account No: 423105500048
    Name: PACKAPEER ACADEMY PRIVATE LIMITED
    IFSC: ICIC0004231
    Branch: Hilite City Kozhikode
    For Enquires, Contact: Ameer: 7034395811
    Further, if you wish to study offline with us in an office environment, You can enroll for Brocamp, Which is a 6-month offline training program where you learn coding skills & let you pay the course fee after placement.
    Brocamp (former SPS): Visit brototype.in/
    Call: 7902606117
    Want to connect with Nikhil Kilivayil personally?
    check: getmytym.com/nikhilkilivayil
    Connect us on Social Media:
    Instagram: / brototype.malayalam
    Linkedin: / brototype
    Facebook: / brototypemalayalam
    Connect Nikhil Kilivayi on Social Media:
    Instagram: / nikhilkilivayil
    Linkedin: / nikhilkilivayil
    Facebook: / nikhilkilivayil1

КОМЕНТАРІ • 195

  • @vivek-bh6od
    @vivek-bh6od 3 роки тому +23

    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 роки тому +1

      thanks man! 🙌🏼

    • @malavikasadasivan8291
      @malavikasadasivan8291 2 роки тому +4

      Njaumm hindi channelbokke kandu Hindi padichu pgmming ithu varae padichilla. Avasanam cross roads ill ethiyapoyannu 5 kollamayiit enthannu padikkunathnnu mabasilayathu😁😁

    • @BrototypeMalayalam
      @BrototypeMalayalam  2 роки тому

      heheh! Finally 🙌🏼

  • @german_class_videos
    @german_class_videos 3 роки тому +15

    # 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 роки тому +8

    Its feeling super easy to code in Python. Thank u Crossroads Team for providing these videos

  • @shiharbinsidheeque1686
    @shiharbinsidheeque1686 4 роки тому +18

    100K coding challengil ullathu polee daily tips add cheyythu kudee

  • @ashikhp1675
    @ashikhp1675 4 роки тому +10

    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 роки тому +13

    # 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)

  • @abbysp9407
    @abbysp9407 4 роки тому +10

    I was following eduerka and tech with Tim yt channels for python...but malayalathile class kooduthal understandable aanu...kudos crossroads

    • @mahirvahmad2149
      @mahirvahmad2149 4 роки тому +1

      Telusko is the best

    • @ashiqueaizeb
      @ashiqueaizeb 4 роки тому

      edureka nte paid course edtheeerno njhan

    • @nabeel8404
      @nabeel8404 4 роки тому

      @@ashiqueaizeb certificate kittiyo

  • @srlsec
    @srlsec 4 роки тому

    Thank You Team CROSSROADS

  • @abu3099
    @abu3099 3 роки тому +2

    Good content good presentation
    Best👍💯👍💯👍💯 class🎊🎊
    Thank you sir for this valuable information

  • @prakashrvijay8382
    @prakashrvijay8382 4 роки тому +3

    #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 роки тому +5

    # 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!

  • @muhammedthayyib9202
    @muhammedthayyib9202 2 роки тому +2

    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)

  • @joelbeapen2749
    @joelbeapen2749 Рік тому +4

    # 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())

  • @rona2243
    @rona2243 4 роки тому

    thanks for taking so much effort sir

  • @fun_childdhood
    @fun_childdhood 4 роки тому +2

    Sir i hope you will be covering the topics like python decorators and generators in this course.Thank you for these awesome tutorials.

  • @bibinbaby293
    @bibinbaby293 4 роки тому +1

    Very very informative

  • @befitlifestyle5271
    @befitlifestyle5271 Рік тому +1

    #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())

  • @gokulhari9402
    @gokulhari9402 3 роки тому +1

    Thank u so much sir

  • @digitalmachine0101
    @digitalmachine0101 7 місяців тому

    Good information

  • @sagarganesh6124
    @sagarganesh6124 4 роки тому

    Good teaching sir..

  • @hashilsemin2414
    @hashilsemin2414 3 роки тому +1

    kidu

  • @aswathyvimal2872
    @aswathyvimal2872 4 роки тому

    How can increment the global variable value in function?

  • @arfexadstoloesthomas7615
    @arfexadstoloesthomas7615 4 роки тому +2

    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))

  • @aahilshi5511
    @aahilshi5511 2 роки тому +2

    Always add description box links of previous parts. Make easy access for late viewers

  • @hilariouscoder7203
    @hilariouscoder7203 4 роки тому +3

    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)

  • @josecherian4665
    @josecherian4665 3 роки тому +1

    Good

  • @ahsanzakir3227
    @ahsanzakir3227 4 роки тому +1

    # 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()

  • @binib.s5139
    @binib.s5139 4 роки тому +2

    🥰👍

  • @rayyanrasheed3985
    @rayyanrasheed3985 4 роки тому +5

    njan english tutorial noki padikuka aayirunnu but ath thudakathil kollam but pinne boor aayi but crossroads boor aakunnilla ennik ishtaayi

  • @_.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))

  • @bijoybaby6024
    @bijoybaby6024 Рік тому

    Super class

  • @abdulhakeemkzm4149
    @abdulhakeemkzm4149 4 роки тому

    👌👌👌

  • @adhilmuhammed2005
    @adhilmuhammed2005 4 роки тому

    👍

  • @AninArafath
    @AninArafath 4 роки тому +1

    Tnnx

  • @shamilk6225
    @shamilk6225 4 роки тому

    😍😍

  • @roopeshsivam
    @roopeshsivam 3 роки тому +1

    x = lambda a,b : a + b
    x(20,30)

  • @muhammedshareef2611
    @muhammedshareef2611 3 роки тому +3

    Programing padippikkan ariyaatha orupaad teachermar nd
    Ithoke kanumbo avre edth kinattilidaan thonnune😆

  • @ashnasanam217
    @ashnasanam217 2 роки тому

    Can I get the certificate after the completion of the whole tutorial?

  • @ajmalshahirak7370
    @ajmalshahirak7370 2 роки тому +1

    👍🔥❤

  • @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)

  • @TekZee
    @TekZee 3 роки тому +1

    function print() kodukkan pattumo 🤔🤔🤔

  • @sarfrasnasim9112
    @sarfrasnasim9112 4 роки тому

    poli

  • @ftmtalks6957
    @ftmtalks6957 4 роки тому +16

    ആദ്യം പഠിപ്പിച്ചിരുന്ന രീതി എനിക്ക് നന്നായിട്ട് ഇഷ്ടപ്പെട്ടിരുന്നു പക്ഷേ ഇതെന്തോ മനസ്സിലാകാത്ത പോലെ . എന്തോ ഒരു കുറവ് ഫീൽ ചെയ്യുന്നത് I don't know why

    • @ajmalbinnizam
      @ajmalbinnizam 4 роки тому +3

      Enikum anubhavapettu... learning inta edayil oru kadha parachilo, thamashayo eleel oru rasam illaa

    • @ftmtalks6957
      @ftmtalks6957 4 роки тому +2

      @@ajmalbinnizam aaaa

    • @BrototypeMalayalam
      @BrototypeMalayalam  4 роки тому +25

      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 роки тому +2

      @@BrototypeMalayalam ok thanks

    • @muhsikondottymk4795
      @muhsikondottymk4795 3 роки тому

      @@BrototypeMalayalam chilath manasilakunnund chilath confusion ann ennalum koyapom ella i will try

  • @abhinavabish8062
    @abhinavabish8062 4 роки тому

    Sir rasberry pi or other microcontroller programing cheyiamo

  • @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)

  • @shanujpanicker3073
    @shanujpanicker3073 4 роки тому +2

    Python base projects koode onnu series pole kanikuo,, appol korachoode manassil akan patum, evide oke use cheyam enn..

  • @nourinkt684
    @nourinkt684 4 роки тому

    👍👍👍🙌

  • @honeylalmj9000
    @honeylalmj9000 9 місяців тому

    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)

  • @arjunag4830
    @arjunag4830 4 роки тому +1

    3rd.day.......

  • @rona2243
    @rona2243 4 роки тому +1

    easy ayi ellama mansillakunundu

  • @ashikmuhammed5206
    @ashikmuhammed5206 4 роки тому

    🌹🌹👍👍

  • @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())

  • @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()

  • @uppauppa3606
    @uppauppa3606 Рік тому

    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

  • @basilkgeorge3185
    @basilkgeorge3185 2 місяці тому

    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)

  • @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))

  • @abhishekmohan1316
    @abhishekmohan1316 4 роки тому +1

    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

  • @yackobjoseph514
    @yackobjoseph514 3 роки тому +1

    Chettha thx for everything . Best laptop for programming onne cheyyavo

    • @mhmdshbn
      @mhmdshbn 3 роки тому +1

      അവരുടെ ചാനലിൽ und

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому

      video ind.. kand nokku!
      ua-cam.com/video/ka0WI9yg1RY/v-deo.html

  • @gokulhari9402
    @gokulhari9402 3 роки тому +1

    Sir python machine learning oru series aayit cheyaamo🙏

  • @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

  • @akashk.a2964
    @akashk.a2964 4 роки тому

    Phonil coding padikkunathum computeril padikkunathum thammil valiya vyathyasam undakumo.

  • @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))

  • @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 2 роки тому +1

      Printil value alle print akiyekunne v print chydu noku bro

  • @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 3 роки тому

    e pythonum nodjus thamil bantham undo

  • @srehh2077
    @srehh2077 3 роки тому +1

    print cheyumbo comma itttal mathille ?
    concatenation inu pakaram

  • @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))

  • @devusumesh5561
    @devusumesh5561 8 місяців тому

    # 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()

  • @craftskerala7653
    @craftskerala7653 4 роки тому

    എനിക്ക് ഒരു ഉപകാരം ചെയ്യുമോ dib file formate എങ്ങിനെ clear ചെയാം

  • @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)

  • @mhdbilalk4701
    @mhdbilalk4701 4 роки тому

    Brother......game development kurich class conduct cheyo...

    • @BrototypeMalayalam
      @BrototypeMalayalam  4 роки тому +1

      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.

  • @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()

  • @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)

  • @anokhautomation4453
    @anokhautomation4453 3 роки тому

    ഇൻഡന്റേഷൻ Indentation??? അല്ലേ??

  • @loki_glorious_purpose
    @loki_glorious_purpose 4 роки тому

    Thank you sir❤️

  • @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)

  • @akshaymohan4334
    @akshaymohan4334 2 роки тому

    23:50 അപ്പോൾ ആ name ,place എന്നത് കാണിക്കാതെ വെറും "നിഖിൽ,മലപ്പുറം" എങ്ങനെ പ്രിന്റ് ചെയ്യും?

    • @BrototypeMalayalam
      @BrototypeMalayalam  2 роки тому

      4th linil place print cheyyunnund, athupole print cheythal mathi.

  • @shaharbismp
    @shaharbismp 11 місяців тому

    (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()

  • @RahulDas-bc9wi
    @RahulDas-bc9wi 3 роки тому

    Sir is there any chance to meet you if there please send reply

  • @dilanal6468
    @dilanal6468 4 роки тому

    Function with No Arguments, and No Return Value
    def Calculator():
    num1 = 10
    num2 = 5
    Sum = num1+ num2
    print("Answer"+str(sum))
    Calculator()
    Function with No Arguments, and with Return Value
    def Calculator():
    num1 = 10
    num2= 5
    Sum = num1 + num2
    return Sum
    Calculaor()
    print("Answer"+str(sum))
    Function with Arguments, and NO Return Value
    def Sum(num1, num2):
    Sum = num1+num2
    Calculator
    print("Answer"+ str(Sum))
    Sum(10, 20)
    Function with Arguments, and Return Value
    def Calculator(num1, num2):
    Sum = num1+num2
    return Sum
    Sum=Calculator(10,5)
    print("Answer"+sum)

  • @dazzler9264
    @dazzler9264 Рік тому +1

    Django series thudagunnille

  • @homelander4881
    @homelander4881 5 місяців тому +1

    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))

  • @vishnuj2110
    @vishnuj2110 Рік тому

    Age intai avidai int allai varendath?

  • @bver8536
    @bver8536 4 роки тому

    Bro ente kayil lap illa enikke phonil code cheyan pattumooo

  • @psychootechy5243
    @psychootechy5243 2 роки тому

    Broo video okkee kollam but ee code okke enganyaa kanatha padikkunee

  • @prajithar6174
    @prajithar6174 Рік тому

    Basic coding inte tutorial evidunnaa kittum ?

  • @kibrobijunewfan
    @kibrobijunewfan 10 місяців тому

    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)

  • @Hashir_musthafa
    @Hashir_musthafa 11 місяців тому

    Tuples il search cheyyuna function ethaa ????

    • @BrototypeMalayalam
      @BrototypeMalayalam  11 місяців тому

      Join the Learning Club, our tech support will help you. Join here: brototype.com/learningclub/org/fullstack/?ref=ytdescription

    • @Hashir_musthafa
      @Hashir_musthafa 11 місяців тому

      @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🤌🏻🤦🏻.

  • @ramanannair9947
    @ramanannair9947 2 роки тому +3

    Keep uploading videos bro, it helped me lot.
    Great thanks to all your team.
    Keep going.✨✨✨💥✌️✌️

  • @rehnas3420
    @rehnas3420 3 роки тому

    Pass statement nthanenn noki erangiyatha ???

  • @adarsh1287
    @adarsh1287 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())

  • @khalidbinalik2484
    @khalidbinalik2484 4 роки тому +1

    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)

  • @rahulnathc
    @rahulnathc 3 роки тому

    basic coding tutorials evidyane ullathe!!!

  • @ambily6626
    @ambily6626 3 роки тому

    You Used Sum As A Variable Rather Than As A Function

  • @ajmalbinnizam
    @ajmalbinnizam 4 роки тому +2

    🤟hhajar

  • @sahad369
    @sahad369 2 роки тому

    async def cheyyuvo

  • @shafikoyamma
    @shafikoyamma 4 роки тому +2

    # 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())

  • @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.🥰

  • @arun1380
    @arun1380 3 роки тому

    Definition ezhuthirr colon kodukunna enthinan

    • @BrototypeMalayalam
      @BrototypeMalayalam  3 роки тому

      Connect our team in Telegram
      7034395811, our team will help you