Share your repls and programming experiences

← Back to all posts
Python Console in 8 lines of code!
ruiwenge2 (597)

This is a really simple python console I made.

Bunnytoes (147)

how would I create this in a different language?

ruiwenge2 (597)

@Bunnytoes i used the exec function in Python, which would execute the code that the user typed. i know javascript has eval