
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Lakshmi Srinivas has Published 287 Articles

Lakshmi Srinivas
1K+ Views
You can create a list of lambdas in a python loop using the following syntax −Syntaxdef square(x): return lambda : x*x listOfLambdas = [square(i) for i in [1, 2, 3, 4, 5]] for f in listOfLambdas: print f()OutputThis will give the output −1 4 9 16 25You can also achieve ... Read More

Lakshmi Srinivas
6K+ Views
Tuples are compared position by position: the first item of the first tuple is compared to the first item of the second tuple; if they are not equal, this is the result of the comparison, else the second item is considered, then the third and so on. example>>> a = (1, ... Read More

Lakshmi Srinivas
99 Views
CSS pseudo-classes are used to add special effects to some selectors. You do not need to use JavaScript or any other script to use those effects.The most commonly used pseudo-classes are −ValueDescription:linkUse this class to add special style to an unvisited link.:visitedUse this class to add special style to a ... Read More

Lakshmi Srinivas
70 Views
The margin-right specifies the right margin of an element. It can have a value in length, % or auto. You can try to run the following code to set the right margin −Example This is a paragraph ... Read More

Lakshmi Srinivas
113 Views
The max-height property is used to set a maximum height that a box can be. The value of the max-height property can be a number, a length, or a percentage.Example This paragraph is 400px wide and max ... Read More

Lakshmi Srinivas
187 Views
The outline property is a shorthand property that allows you to specify values for multiple properties such as width, line style, and color of the outline.Example This text is having thin solid freen outline. This text is having thick dashed green outline.