Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The Things to love.
- # A python Project
- # Tuples
- t = ("RCB", "Pizza", "Ronaldo", "Leela Palace") # Assigning Tupple Values
- print(t) # Prining the tuple
- # Dictionaries
- d = {
- "VK18": "We need those incredible bowlers",
- "VKIND": "We have the best lineup of bowlers",
- } # Assining Values to Keys
- print(d["VK18"])
- # Lists
- my_favs = [
- "Ronaldo wins the WORLD CUP, RCB wins the IPL CUP",
- "Virat Kohli hits a DOUBLE CENTURY!!",
- ] # Assingning values for a list.
- my_favs.append(18) # Adding Elements to the list
- print(my_favs) # Printing the list
- print(len(my_favs)) # Printing the length of the list
- print(my_favs[-1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement