Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
意外标记“if”附近的语法错误
for x in 1..100 if x % 3 == 0 puts "Fizz" elsif (x % 5) == 0 puts "Buzz" else puts x end end
感谢您的帮助。我在终端中错误地运行了程序。(。/与'红宝石')