In [13]:
#Sring Variable
StringVar = "Hello World"
print(type(StringVar))
print(StringVar)

print()

#Integer Variable
IntegerVar = 20
print(type(IntegerVar))
print(IntegerVar)

print()

#Float Variable
FloatVar = 20.5
print(type(FloatVar))
print(FloatVar)

print()

#Complex Variable
ComplexVar = 1j
print(type(ComplexVar))
print(ComplexVar)

print()

#List Variable
ListVar = ["apple", "banana", "cherry"]
print(type(ListVar))
print(ListVar)

print()

#Tuple Variable
TupleVar = ("apple", "banana", "cherry")
print(type(TupleVar))
print(TupleVar)

print()

#Range Variable
RangeVar = range(6)
print(type(RangeVar))
print(RangeVar)

print()

#Dict Variable
DictVar = {"name" : "John", "age" : 36}
print(type(DictVar))
print(DictVar)

print()

#Set Variable
SetVar = {"apple", "banana", "cherry"}
print(type(SetVar))
print(SetVar)

print()

#FrozenSet Variable
FrozenVar = frozenset({"apple", "banana", "cherry"})
print(type(FrozenVar))
print(FrozenVar)

print()

#Bool Variable
BoolVar = True
print(type(BoolVar))
print(BoolVar)

print()

#Bytes Variable
BytesVar = b"Hello"
print(type(BytesVar))
print(BytesVar)

print()

#ByteArray Variable
ArrayVar = bytearray(5)
print(type(ArrayVar))
print(ArrayVar)

print()

#MemoryView Variable
MemoryVar = memoryview(bytes(5))
print(type(MemoryVar))
print(MemoryVar)
<class 'str'>
Hello World

<class 'int'>
20

<class 'float'>
20.5

<class 'complex'>
1j

<class 'list'>
['apple', 'banana', 'cherry']

<class 'tuple'>
('apple', 'banana', 'cherry')

<class 'range'>
range(0, 6)

<class 'dict'>
{'name': 'John', 'age': 36}

<class 'set'>
{'apple', 'cherry', 'banana'}

<class 'frozenset'>
frozenset({'apple', 'cherry', 'banana'})

<class 'bool'>
True

<class 'bytes'>
b'Hello'

<class 'bytearray'>
bytearray(b'\x00\x00\x00\x00\x00')

<class 'memoryview'>
<memory at 0x7f4a67728e88>
In [ ]: