On Monday, 15 August 2016 00:03:59 UTC+5:30, MRAB wrote:
> On 2016-08-14 19:17, Atri Mahapatra wrote:
> > I have a list of dictionaries which look like this:
> > [{'Width': 100, 'Length': 20.0, 'Object': 'Object1'}, {'Width': 12
I have a list of dictionaries which look like this:
[{'Width': 100, 'Length': 20.0, 'Object': 'Object1'}, {'Width': 12.0, 'Length':
40.0, 'Object': 'Object2'}.. so on till 10]
I would like to find the first index in the list of dictionaries whose length
is greater than a particular value
f
I am trying to create a following dictionary. I am reading data from excel
which has data in the following format:
Sl no: Name Thickness Length Material Width Quantity Side
It has 20 rows of data.
The dictionary for the 20 rows, I would like to make is
Data_Dict = [
{ 'Name': 'X', 'Length
I have installed IDLE 3.5.1 and wrote the following print command to see if it
is working. When I ran the code nothing is printed. Can you please point the
reason- anything wrong with the code?
class Base: #{
def __init__( self ): #{
print("Hello, world: \n\n");
#}
#}
I have installed IDLE 3.5.1 and wrote the following to check if print is
working. When it runs, I do not see anything is printed:
class Base: #{
def __init__( self ): #{
print("Hello, world: \n\n");
#}
#}
if ( __name__ == " __main__"): #{
root = Base();
#}
Can an