How to run a pycharm code in google colab

Hi, 

 

I am able to run the code of a game in Turtle, in Pycharm but not in google colab.

I have copy pasted this command

import turtle
%matplotlib inline
import matplotlib.pyplot as plt
plt.style.use('bmh')  # Use some nicer default colors

#window
window = Turtle.Screen()
window.title("Pingpong")
window.bgcolor("black")
 
it is giving error in window = Turtle.Screen
 
 
0

Please sign in to leave a comment.