Guest User

Untitled

a guest
Jun 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # Create variables var1 and var2
  2. var1 = [1, 2, 3, 4]
  3. var2 = True
  4.  
  5. # type of var1
  6. type(var1)
  7.  
  8. #print the type
  9. print(type(var1))
  10.  
  11. # Print out length of var1
  12. print(len(var1))
  13.  
  14. # Convert var2 to an integer: out2
  15. out2 = int(var2)
Add Comment
Please, Sign In to add comment