by Yogesh | Nov 7, 2017 | Angular 4 Tutorial
What is Angular 4 pipes: 1.A pipe is to format the value of an expression displayed in the view. 2.The framework comes with multiple predefined pipes, such as date, currency, lowercase, uppercase, and others. 3.Syntax: {{expression | pipeName:inputParam1}} 4.If the...
by Yogesh | Nov 5, 2017 | Angular 4 Tutorial
When we write the angular source code we usually need some data functions that would be shared across different components in an application. In that condition, we have to write same function code in different components that don’t make sense. In this scenario,...
by Yogesh | Nov 1, 2017 | Python Tutorial
functions in python Function definition There are some simple rules to define a function in Python. They are as follows: Use the def keyword followed by function name with parentheses () Any argument to the function must be placed within these parentheses () The code...
by Yogesh | Nov 1, 2017 | Python Tutorial
What is Dictionary a built-in data structure available in Python a dictionary is a sequence of key-value, or item, pairs separated by commas. Ex port = {22: “SSH”, 23: “Telnet” , 53: “DNS”, 80: “HTTP” } . In a list,...
by Yogesh | Nov 1, 2017 | Python Tutorial
What is List: a built-in data structure available in Python a list of comma-separated values (items) between square brackets. It can contain heterogeneous values such as integers, floats, strings, tuples, lists, and dictionaries. Python lists are mutable; yes, they...