The examples below are all valid Ruby conditionals. Copy Code. # Example 1 if x == 3 puts ... If there is any difference at all, the strings are not equal.
確定! 回上一頁