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.
PHP で 1 から 100 までの乱数を描画したいと考えています。偶数は20%の確率で、奇数は80%の確率で描いてほしいです。
どうすればこれを実装できますか?