Nelogeek

Untitled

Oct 26th, 2021
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. [3] 5 is of type <class 'int'>
  2.  
  3. [6] 2.0 is of type <class 'float'>
  4.  
  5. [9] 1+2j is complex number? True
  6.  
  7. [12] 1234567890123456789
  8.  
  9. [15] 0.1234567890123456789
  10.  
  11. [18] 1+2j
  12.  
  13. [21] a[2] = 15
  14.  
  15. [25] a[0:3] = [5,10,15]
  16.  
  17. [29] [1,2,4]
  18.  
  19. [32] t[1] = program
  20.  
  21. [35] a = {1,2,3,4,5}
  22.  
  23. [37] <class 'set'>
  24.  
  25. [40] {1,2,3}
  26.  
  27. [43] <class 'dict'>
  28.  
  29. [46] d[1] = value
  30.  
  31. [48] 5.0
  32.  
  33. [50] 10
  34.  
  35. [52] -10
  36.  
  37. [54] 2.5
  38.  
  39. [56] '25'
  40.  
  41. [58] {1,2,3}
  42.  
  43. [60] (5,6,7)
  44.  
  45. [62] ['h', 'e', 'l', 'l', 'o']
  46.  
  47. [64] 45
  48.  
  49. [66] '912'
Advertisement
Add Comment
Please, Sign In to add comment