#A list contains items separated by commas and enclosed within square brackets
students=["Angelique","Tiana","Patricia","Shiyan"]
marks=[12,18,80,72]
print(students)
print(reversed(students))


#A dictionary is an unordered collection of data in a key:value pair form.
learners={"0":"Tamsyn","1":"Zoe"}
print(type(learners))
print(learners.values())

#How will you capitalize the first letter of a string?
first_name="Tiana"
print(type(first_name))

#What basic data types can you name in Python?

#string data type
first_name="Yazeed"
print(len(first_name))

#list data type
friends=["Yazeed","Kendre","Ashleigh","Dan"]

#tuple data type
tuple1 =('life science','tourism',1968,2000)
tuple2 =(2,4,6,8,10)
tuple3 =("a","b","c","d")

#What is the output of print(str) if str = ‘“Hello World!”?
name="Hello World"
print(str (name))
print(name[2:5])
print(name[2])

#How will you get all the keys from the dictionary?
print(learners.keys())

#How will you get the length of the string?
print(len(first_name))


