Jump to content

Recommended Posts

Posted

S#d^  brackets tapithey motham correct cheppina  sHa_clap4

{ ki [ is lot of difference 

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

  • k2s

    20

  • Srinidhi

    15

  • nako_job_kavali

    2

  • Connexion

    2

Posted

>>> t = 12345, 54321, 'hello!'
>>> t[0]
12345
>>> t
(12345, 54321, 'hello!')
>>> # Tuples may be nested:
... u = t, (1, 2, 3, 4, 5)
>>> u

??????

Posted

>>> d = {'apples': 1, 'oranges': 3, 'pears': 2}
>>> ud = {'pears': 4, 'grapes': 5, 'lemons': 6}
>>> d.update(ud)
>>> d

?????????

 

{'grapes': 5, 'lemons':6, 'apples': 1, 'oranges': 3, 'pears': 4} 

Posted

>>> t = 12345, 54321, 'hello!'
>>> t[0]
12345
>>> t
(12345, 54321, 'hello!')
>>> # Tuples may be nested:
... u = t, (1, 2, 3, 4, 5)
>>> u

??????

((12345,54321,'hello!'),(1,2,3,4,5))

Posted

{'grapes': 5, 'lemons':6, 'apples': 1, 'oranges': 3, 'pears': 4} 

 

exam aaGenelia-1.gif

ali2.gif?1290057330

Posted

((12345,54321,'hello!'),(1,2,3,4,5))

dont search the search..if u search the search......search will search u,,,,, u should not search.......... u shud re-search

Posted

dont search the search..if u search the search......search will search u,,,,, ur should not search.......... u shud re-search

Ali.gif i learnt python long back you know 

Posted

>>>squares = [x**2 for x in range(10)]

>>>squares

??????

[0,1,4,9,16,25,36,49,64,81]Ali-1.gif

×
×
  • Create New...