Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Create variables var1 and var2
- var1 = [1, 2, 3, 4]
- var2 = True
- # type of var1
- type(var1)
- #print the type
- print(type(var1))
- # Print out length of var1
- print(len(var1))
- # Convert var2 to an integer: out2
- out2 = int(var2)
Add Comment
Please, Sign In to add comment