> என் ராஜபாட்டை

.....

.

.

.

Friday, April 9, 2021

12 STD || CH: 7 || PYTHON || BUILD IN FUNCTIONS || COMPUTER SCIENCE

 

 

 


What is Composition in functions?


The value returned by a function may be used as an argument for another function in a nested manner. This is called composition. For example, if we wish to take a numeric value or an expression as a input from the user, we take the input string from the user using the function input() and apply eval() function to evaluate its value.

 

 

VIDEO LINK:

 

CLICK HERE

 

 

 

WATCH VIDEO HERE:

 

 


 

 

YOUTUBE LINK:

 

12 STD || CH: 7 ||  PYTHON || BUILD IN FUNCTIONS || COMPUTER SCIENCE

 

 

 

12 STD || CH: -7 || FUNCTIONS IN PYTHON || COMPUTER SCIENCE

 

 

Defining Functions.


Functions must be defined, to create and use certain functionality. There are many built-in functions that comes with the language python (for instance, the print() function), but you can also define your own
function. When defining functions there are multiple things that need to be noted;


• Function blocks begin with the keyword
“def” followed by function name and
parenthesis (). 

 

 VIDEO LINK


CLICK HERE





WATCH VIDEO HERE:





YOUTUBE LINK:



12 STD || FUNCTIONS IN PYTHON || COMPUTER SCIENCE

 

 

 

 

 

12 STD || CH: 7 || PART-1 || FUNCTION IN PYTHON INTRO

 

 


 

Introduction.


Functions are named blocks of code that are designed to do specifi c job. When you want to perform a particular task that you have defi ned in a function, you call the name of the function responsible for it. If you need to perform that task multiple times throughout your program, you don’t
need to type all the code for the same task again and again; you just call the function dedicated to handling that task, and the call tells Python to run the code inside the function. You’ll fi nd that using functions makes your programs easier to write, read, test, and fix errors. 

 

 

VIDEO LINK:

 

CLICK HERE

 

 

 

WATCH VIDEO HERE:

 

 


 

YOUTUBE LINK:

 

 12 STD || CH: 7 || PART-1 ||  FUNCTION IN PYTHON INTRO

 

 

Saturday, April 3, 2021

12 std || PART-2 || PYTHON || JUMP STATEMENT

 





Jump Statements in Python

The jump statement in Python, is used to unconditionally transfer the control from one part of the program to another. There are three keywords to achieve jump statements in Python : break, continue, pass. The following flowchart illustrates the use of break and continue.



VIDEO LINK:


12 std || PART-2 || PYTHON || JUMP STATEMENT 



WATCH VIDEO HERE:




12 std || PART-2 || PYTHON || LOOPS

 





Alternative or Branching Statement

In our day-to-day life we need to take various decisions and choose an alternate path to achieve our goal. May be we would have taken an alternate route to reach our destination when we find the usual road by which we travel is blocked. This type of decision making is what we are to learn through alternative or branching statement. Checking whether the given number is positive or negative, even or odd can all be done using alternative or branching statement.



VIDEO LINK:



CLICK HERE




WATCH VIDEO HERE