>>>import random
>>>list(random.randint(1, 1000) for i in range(1000))
[515, 777, 561, 599, 48, 210, 185, 134, 839, 870, 731, 59, 629, 334, 208, 429, 403, 778, 543, 345, 484, 805, 791, 705, 648, 144, 842, 391, 361, 493, 852, 807, 217, 40, 13, 482, 183, 423, 875, 49, 739, 566, 358, 735, 160, 860, 738, 259, 242, 396, 391, 32, 712, 810, 876, 146, 325, 122, 843, 643, 285, 649, 689, 143, 44, 131, 551, 437, 798, 369, 581, 541, 784, 712, 104, 248, 195, 416, 359, 717, 180, 59, 685, 983, 923, 753, 221, 520, 612, 691, 846, 72, 253, 720, 693, 835, 721, 810, 278, 45, 577, 674, 367, 961, 258, 256, 316, 667, 88, 678, 879, 159, 727, 309, 871, 848, 340, 902, 659, 127, 662, 39, 129, 952, 58, 205, 321, 373, 750, 569, 631, 618, 719, 11, 500, 744, 27, 53, 668, 851, 865, 489, 65, 532, 607, 24, 960, 992, 940, 169, 557, 529, 318, 71, 347, 201, 954, 68, 529, 833, 951, 138, 358, 508, 688, 741, 551, 530, 219, 972, 287, 329, 429, 664, 679, 445, 814, 968, 404, 541, 799, 470, 19, 764, 538, 364, 833, 340, 362, 814, 302, 861, 507, 788, 508, 429, 226, 254, 907, 755, 453, 461, 302, 571, 360, 414, 148, 641, 920, 343, 272, 43, 930, 868, 856, 497, 868, 562, 808, 700, 131, 384, 997, 229, 247, 375, 321, 99, 697, 184, 804, 873, 771, 146, 695, 801, 453, 768, 344, 157, 984, 479, 365, 272, 591, 968, 893, 301, 637, 859, 276, 34, 162, 904, 449, 159, 649, 874, 645, 983, 28, 526, 713, 979, 914, 593, 866, 480, 814, 727, 355, 140, 408, 532, 585, 508, 804, 373, 188, 511, 647, 548, 708, 707, 925, 765, 537, 230, 438, 948, 655, 639, 91, 43, 936, 36, 457, 138, 392, 582, 88, 171, 975, 709, 289, 980, 54, 190, 861, 101, 187, 331, 120, 597, 159, 496, 862, 42, 130, 314, 813, 905, 418, 693, 735, 849, 171, 793, 936, 471, 587, 183, 269, 711, 517, 186, 471, 927, 63, 300, 904, 436, 47, 579, 265, 899, 731, 963, 390, 512, 734, 398, 386, 569, 800, 821, 960, 387, 831, 8, 876, 573, 340, 583, 454, 173, 223, 706, 868, 109, 648, 480, 19, 912, 424, 45, 716, 321, 988, 907, 281, 147, 960, 901, 604, 896, 950, 135, 472, 990, 546, 989, 995, 169, 353, 361, 636, 39, 997, 612, 361, 538, 47, 346, 408, 872, 873, 935, 903, 171, 504, 828, 344, 524, 843, 404, 435, 748, 211, 770, 227, 901, 281, 536, 571, 399, 902, 393, 541, 585, 1, 813, 745, 351, 586, 285, 522, 916, 736, 484, 604, 99, 233, 55, 955, 733, 827, 808, 913, 751, 217, 26, 290, 561, 771, 732, 499, 362, 554, 400, 399, 532, 668, 587, 814, 246, 898, 382, 190, 27, 770, 434, 26, 702, 861, 602, 406, 216, 950, 575, 975, 449, 748, 220, 547, 936, 463, 650, 723, 625, 304, 827, 964, 592, 572, 361, 464, 180, 732, 804, 723, 402, 684, 512, 190, 914, 347, 856, 589, 869, 930, 334, 895, 249, 268, 109, 300, 983, 497, 428, 635, 72, 831, 381, 374, 885, 523, 598, 937, 690, 46, 995, 903, 590, 948, 258, 42, 190, 927, 445, 799, 266, 830, 70, 734, 545, 646, 870, 989, 322, 949, 533, 140, 140, 493, 182, 401, 458, 539, 282, 974, 145, 719, 240, 994, 786, 278, 288, 460, 123, 148, 737, 324, 787, 664, 965, 722, 303, 451, 231, 34, 318, 682, 49, 33, 556, 88, 505, 658, 282, 856, 415, 967, 862, 2, 327, 424, 20, 144, 536, 395, 547, 31, 201, 87, 484, 649, 205, 739, 63, 626, 836, 105, 387, 963, 727, 448, 298, 311, 18, 902, 195, 828, 989, 234, 354, 591, 146, 257, 898, 754, 728, 439, 331, 425, 941, 111, 794, 619, 662, 352, 374, 353, 397, 801, 467, 264, 636, 388, 586, 692, 596, 312, 68, 956, 453, 360, 103, 59, 889, 887, 184, 632, 952, 569, 744, 133, 345, 526, 342, 564, 361, 105, 269, 243, 848, 228, 172, 27, 252, 415, 72, 266, 491, 300, 585, 566, 30, 544, 328, 594, 724, 409, 209, 479, 981, 506, 516, 788, 840, 942, 88, 962, 975, 980, 139, 340, 885, 140, 24, 666, 272, 586, 515, 772, 483, 893, 643, 834, 581, 568, 461, 429, 472, 476, 747, 204, 751, 576, 355, 231, 820, 974, 4, 567, 926, 785, 548, 585, 119, 226, 415, 228, 55, 667, 186, 800, 846, 344, 302, 554, 986, 268, 402, 788, 485, 299, 986, 215, 497, 484, 909, 326, 486, 410, 382, 518, 663, 65, 82, 417, 689, 35, 683, 741, 363, 906, 624, 209, 814, 86, 683, 1000, 254, 829, 128, 851, 391, 176, 830, 344, 659, 931, 738, 375, 589, 824, 764, 286, 650, 135, 384, 722, 510, 244, 973, 902, 951, 790, 77, 609, 762, 95, 827, 38, 419, 864, 455, 923, 635, 887, 987, 697, 604, 709, 482, 332, 215, 179, 49, 798, 498, 529, 226, 947, 733, 663, 90, 521, 194, 728, 38, 156, 64, 895, 896, 524, 996, 699, 455, 783, 158, 533, 803, 11, 490, 924, 929, 270, 96, 939, 859, 284, 63, 38, 488, 977, 996, 388, 567, 957, 329, 975, 866, 445, 914, 472, 276, 742, 372, 977, 749, 843, 425, 840, 299, 49, 666, 995, 581, 70, 90, 824, 425, 758, 901, 396, 191, 193, 366, 694, 626, 685, 208, 588, 794, 58, 195, 705, 653, 266, 457, 75, 388, 460, 461, 973, 481, 204, 307, 122, 755, 710, 210, 112, 489, 809, 170, 356, 335, 632, 809, 218, 115, 46, 159, 709, 857, 782, 803, 510, 73, 48, 469, 596, 693, 73, 243, 719, 627, 204, 644, 743, 5, 351, 155, 736, 388, 450, 182, 77, 766, 561, 973, 589, 776, 160, 695, 856, 276, 312, 80, 867, 585, 252, 256, 816, 466, 942, 377, 921, 127, 261, 409, 964, 792, 883, 552, 188, 293, 311, 294, 845, 12, 851, 784, 396, 734, 537, 776]
生成随机数列表