On 7 May 2013 07:19, Umesh Tiptur <umeshreloa...@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 _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers