What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-22 11:00:59
how to make basic minecraft in python
#How to make basic MINECRAFT in python? You are in the right place! ''' For this project, you need ursina installed. If you dont have ursina installed, use this command pip install ursina and then wait for the process to finish ''' #import ursina and t... Add solution -
Python 2022-01-22 04:00:41
__init__ python
class Person: def __init__(self, name): self.name = name Add solution -
Python 2022-01-22 02:31:20
use a singly linked list create a stack python
'''Python supports automatic garbage collection so deallocation of memory is done implicitly. However to force it to deallocate each node after use, add the following code: import gc #added at the start of program gc.collect() #... Add solution -
Python 2021-11-20 21:49:14
Python Tkinter timer animation
#!/usr/bin/env python3 # Display UTC. # started with https://docs.python.org/3.4/library/tkinter.html#module-tkinter import tkinter as tk import time def current_iso8601(): """Get current date and time in ISO8601""" ... Add solution -
Python 2021-11-20 21:42:21
pygame for loop for draw shape
import pygame from pygame.locals import * from sys import exit from random import * pygame.init() screen = pygame.display.set_mode((640, 480), 0,32) class Rectangle: def __init__(self, pos, color, size): self.pos = pos self.color =... Add solution