[BangPypers] Basic of basic question

Gora Mohanty gora at mimirtech.com
Tue May 7 05:39:03 CEST 2013


On 7 May 2013 07:19, Umesh Tiptur <umeshreloaded at yahoo.com> wrote:
> Hi,
>
> I am very new to programming in python. But I want to know is user hass inputted a number or a string
>
> Please help with this HOW to..
[...]

* You can use type( var ) to find the type of a variable, var
* Typically, one should not need to know the type of a variable
* This is a very basic question that can be answered by a book
   or an online learning resource. Searching Google would find
   this, for example.

Regards,
Gora


More information about the BangPypers mailing list