Lab 2A

Using the Python interpreter: find the type of the following variables. Feel free to experiement with other variables and such.

Type of:​

  • 10​
  • 10.5​
  • "10"​
  • "Hello!"​
  • ""​
  • ''
  • True​
  • 0​
  • type​
  • object​
  • b"10101101"
  • 0b10101101​
  • [1,2,3]​
  • (1,2,3)​
  • {1,2,3}​
  • {'one':1}​
  • 5j​