英語小說單字筆記中2025-11-29

圖片
desperate(デスパレート・ですぱれーと) 絕望的;迫切的 She felt desperate for help. かのじょは助けが必要で デスパレート な気持ちだった。 她迫切地需要幫助。 despair(デスペア・ですぺあ) 絕望;無望 He sank into despair after hearing the news. そのニュースを聞いて、かれは デスペア におちこんだ。 聽到那個消息後,他陷入絕望。 shaky(シェイキー・しぇいきー) 發抖的;不穩的 Her hands were shaky during the speech. スピーチのとちゅう、かのじょの手は シェイキー だった。 她演講時雙手不停發抖。 devastated(デヴァステイテッド・でゔぁすていてっど) 極度打擊的;崩潰的;心碎的 She was devastated after the breakup. かのじょは別れのあと、 デヴァステイテッド だった。 分手後她整個人崩潰了。

「swift2.0」repeat 和 for in 迴圈

repeat 跟C++的do-while 粉像的說

int i = 0;
do{
      cout<<i<<endl;
}while(i<100);

寫成swift的repeat就是

var i = 0
repeat {
    i++
    print(i)

} while i < 100


for in 加上SQL語法where 
迴圈+查詢語法 = 無敵

var scores = [ 10 , 20 , 30 , 40 ,50 ,60, 70]
for score in scores where  score <= 30 {
    print(score)
}
結果印出小於或等於30的分數^o^

留言