Nested Functions In Python are Easy!🐍

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ย. 2024
  • PLEASE LIKE AND SUBSCRIBE ITS FREE!
    #beginners #tutorial #python
    Check out my other videos to learn more computer science & programming concepts please :)
    Code used in the video will be pinned in the comments!
    Socials and other platforms:
    linktr.ee/Yous...

ความคิดเห็น • 3

  • @YousefCompSci
    @YousefCompSci  8 วันที่ผ่านมา

    # nested function calls = function calls inside another function call
    #
    # innermost function calls are resolved first
    # returned value is used as an argument for the next outer function
    # a function
    # num = input("Enter a positive number: ")
    # num = float(num)
    # num = abs(num)
    # num = round(num)
    # print(num)
    # same function but nested format
    print(round(abs(float(input("Enter a positive number: ")))))

  • @Monsta1291
    @Monsta1291 10 วันที่ผ่านมา +1

    😁😁😁

  • @yousef1291_
    @yousef1291_ 9 วันที่ผ่านมา