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.
ruby 1.8.6 中是否有任何方法可用于计算 n 值 n 功率?
就像 2 有 5 次方,那么答案是 32,5 有 3 次方,那么答案是 125?
2**5 会给你结果 32。