Variables in Swift

The first thing we do in any programming language is create variables. So lets get started. In Swift we do this by using a keyword “var“.  The variable name is generally camelCased using lowercase first letter, e.g areaOfCircle; preimeterOfSquare; surfaceArea etc.

The first question you will have is do we need to mention its type before we assign a …

2. Variables in Python

A variable is a unit of data with an identifier which is held in the computer’s memory. It can be changed by putting a new value into it or modifying the value that is already there. Here you will be introduced to some different types of variables that are available for us in our programs. We will have a brief …

1.Hello World!

The python code can be written in a stand alone “Python Shell”. This simplifies the life of a programmer. The shell allows you to enter Python command just as we do in a command-line interface. This is a great resource for immediate Python gratification. Here we are going to learn how to write our basic code; “Hello World!”. For this you …

android imf number

Tut#2 Android Input Method Framework : Handle Soft Keyboard in Android

How to customize the soft-keyboard in Android? How to allow the user to enter different types of values? How to use android:imeOptions and inputType? What are the different inputTypes supported by Android? How to perform input validation of data entered by the user? How to get events from Buttons inside the keyboard? How to programmatically close the keyboard?