Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Accessing Values in Lists in Python

To access values in lists, use the square brackets for slicing along with the index or indices to obtain value available at that index. For example − #!/usr/bin/python list1 = ['physics', 'chemistry', 1997, 2000]; list2 = [1, 2, 3, 4, 5, 6, 7 ]; p

Range operators in Ruby

Range operators in ruby are used to extract a sequence. Sequences have an initial point and end point by which we can generate consecutive values in the sequence. The values of a range may be objects, numbers, characters or strings.   There ar

Accessing Values in Strings in python

Python does not support a character type treated as strings of length 1, thus also consider a substring. To access substrings, use the square brackets for slicing along with the index or indices to obtain your substring. For example − #!/usr/bin/pyt

Android Version Names

Each version of Android is having a specific code name since Android version 1.5. These name are English alphabetically and a confectionery theme based (usually , sugary foods). And these names belongs to one or more version names. Below is the list

Merge Sort Algorithm

Merge sort is a sorting algorithm that uses "Divide and Conquer" method to sort the array.It divides the array into two halves and then recursively sort the two sub-array and then merge the two sorted sub-arrays into sequence. Time complexity of Mer

break statement in C language

if we want to break the execution of loop in while, do while and for loop and switch case we use break satement. Syntax: jump-statement; break; below are examples to illustrate break statement: Example1 Example of C break statement with loop

SQL Join Statement

Basically this tag is used with select statement to find and retrieve the data from multiple tables . And this can be done with the help of join query . suppose i have two tables , name is student and teacher then i can add the columns with the help

WCF services

WCF services are used to perform functionality that are commonly need by our web applications. Like we need payment gateway integration in most of our websites so what we do is to create a service for that. Ex: [ServiceContract] public in

Structure in C

Structure is basically a user defined datatype which is a collection of heterogeneous elements. Each element of a structure is called a member. It works like a template in C++ and class in Java. It is used to store student information, employee

.to_a in Ruby

.to_a is used to specify range. It is a method that converts an object into an array Example $, =", " # Array value separator range1 = (1..10).to_a range2 = ('bar'..'bat').to_a puts "#{range1}" puts "#{range2}" Output 1, 2, 3, 4, 5, 6, 7, 8, 9

prev 1 3 423
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: