- ตัวดำเนินการ
-
เรียนรู้
ศูนย์การเรียนรู้ Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ ศูนย์การเรียนรู้ C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ ศูนย์การเรียนรู้ C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++
- โจทย์
Generators
Random Number Generator
Pick random numbers in a range, generate unique lists, or roll dice, using secure randomness.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Random Number Generator
- Set the minimum and maximum values.
- Choose how many numbers you need and whether duplicates are allowed.
- Generate, then copy the result.
Frequently asked questions
Are the numbers truly random?
They come from your browser's cryptographically secure random generator, which is suitable for fair draws.
Can I generate numbers without repeats?
Yes. Turn off duplicates to get unique numbers, as long as the range contains enough values.
Can I use decimals or negative numbers?
Yes. Negative ranges work, and you can choose the number of decimal places.
ฝึก Python ด้วยโจทย์เขียนโค้ด
แก้โจทย์จริงใน editor นี้: รันทดสอบตัวอย่าง ส่งคำตอบ และรับรีวิวโค้ดจาก AI