> weather <- sample(c("sunny", "rainy"), size = 1) > weather [1] "sunny" > if (weather == "sunny"){ + print("Running outdoors!") + } else { + print("Working out ...
確定! 回上一頁