Advertisement
JkSoftware

Day 4 - Lists

Nov 6th, 2021
853
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. states = ["Delaware", "Ohio", "New York", "Florida", "California", "Texas", "Utah"]
  3.  
  4. print(states[-1])
  5.  
  6. states.extend(["Kansas", "Washington", "New Jersey"])
  7.  
  8. print(states)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement