Go to the website W3 Schools(Setting Data Types) and look at the various data types.

From the list below, using either Camel Case or Snake Case, create a variable


"Hello World"
20
20.5
1j
["Apple", "Banana", "Cherry"]
("Apple", "Banana", "Cherry")
range(6)
{"name" : "John", "age" : 36}
{"Apple", "Banana", "Cherry"}
frozenset({"apple", "banana", "cherry"})
True
b"Hello"
bytearray(5)
memoryview(bytes(5))

Print out the data type.

print out the value of the variable.


Save it as html, copy it to the web server, and link it to your home page

Below is an example of the first item in the list.

In [3]:
#string variable
stringVariable = "Hello World"
print(type(stringVariable))
print(stringVariable)

print()

#integer variable
integerVariable = 20
print(type(integerVariable))
print(integerVariable)
<class 'str'>
Hello World

<class 'int'>
20
In [ ]: