The Suite Life on Deck - Season 3 - Eps 16: The Play's the Thing
After assigning the class to write their own play, Ms. Tutweiler selects Cody's play to be presented in class. However, Bailey refuses to participate after realizing the play antagonizes her role in the break-up between her and Cody, forcing Cody to act as Bailey and Zack as Cody.
About The Suite Life on Deck

Title: The Suite Life on Deck
First Air Date: 2008-09-26
Last Air Date: 2011-05-06
Status: Ended
Rating: 7.8/10 (from 500 votes)
Language: EN
Seasons: 3
Total Episodes: 73
Network: Disney Channel
Genres: Comedy, Family, Kids
Production Companies: Bon Mot Productions, Danny Kallis Productions, It's a Laugh Productions, Walt Disney Television
Synopsis
Zack and Cody Martin are aboard the SS Tipton, a luxury passenger cruise liner owned by London's father. The ship cruises the world with tourists and students who attend classes at Seven Seas High, the one high school that London's dad thinks will make his daughter a better student. While out at sea, Zack and Cody still have their compass pointed towards mischief, and London learns to live a "fabu-less" lifestyle, including sharing a small room with Bailey, a country girl from Kansas.
Cast

Dylan Sprouse
Zack Martin

Cole Sprouse
Cody Martin

Debby Ryan
Bailey Pickett

Brenda Song
London Tipton

Phill Lewis
Marion Moseby