fork download
  1. candy = "Cookies and Cream"
  2. print(candy[12:])
  3.  
  4. show1 = "Tom and Jerry"
  5. show2 = "Spongebob Squarepants"
  6. print(show2[:16] + show1[8:])
  7.  
  8. brand1 = "Abrocrombie"
  9. brand2 = "Rick Owens"
  10. print(brand2[:2] + brand1[4:])
  11.  
  12. brand1 = "Gucci"
  13. brand2 = "Versace"
  14. print(brand2[:3] + brand1[2:])
  15.  
  16. movie = "The Incredibles"
  17. ilocation = movie.index("i")
  18. print(ilocation)
  19.  
  20. start = "Hello World!"
Success #stdin #stdout 0.07s 14160KB
stdin
Standard input is empty
stdout
Cream
Spongebob SquareJerry
Ricrombie
Vercci
10