是否有在线 Python IDE 的内置模块可用?

Are there any online Python IDE's that have the built-in modules available?

我找到了很多在线 Python 编辑器,但是其中 none 有可用的模块。是否有任何在线可用的 IDE 具有内置的 mathrandom 等简单模块?

好吧,我没有测试任何种类的在线 python 口译员,但是一个快速的实验产生了这个 Website。它可以 运行 您的基本甚至一些高级内置模块

测试代码如下

# Online Python compiler (interpreter) to run Python online.
# Write Python 3 code in this online editor and run it.
import random

#testing a random built-in module
marks = {
    "English": random.randint(1, 100),
    "Bio": random.randint(1, 100),
    "Botany": random.randint(1, 100),
    "Literature": random.randint(1, 100),
}

for mark in marks.keys():
    print("You got ", marks[mark] , " marks in ", mark)

#testing the built-in sum function
total = sum([marks[subject] for subject in marks.keys()])
print("Total Marks", total)

输出如下