选项:ThankyoutrafficlightshalfanhourturnrightroadsignroundaboutExcuseme对话:Dale:1.CouldyoutellmehowtogettothePalaceMuseum?Nancy:YoucantakeBusNp.5.Thedriverwilltellyouwheretogetoff.Dale:Yes,butI'mdrivingmyowncar.Nancy:Oh,thenyoudrivealongthisstreet,2atthethirdcrossroad,keepstraightonuntilyouseearoadsignthatsays"PalaceMuseum",andthenyoufollowthesign.ItwilldirectyoutothePalaceMuseum.Dale:Drivealongthisstreet,turnright,keepstraight,andthenI'llseethe3?Nancy:That'sright.Dale:4!Oh,bytheway,howlongwillittakeformetogettothemuseum?Nancy:About5.Dale:Thanksagain.You'vebeenveryhelpful.
s = "abcd",下列哪个语句可以将s中的字母全部大写()。
A. s.replace("a", "A")
B. s = s.replace("a", "A")
C. s.lower()
D. s.upper()
表达式 'abcab'.replace('a','yy') 的值为()。
A. yabcab
B. yybcab
C. yyabcab
D. ayybcab