Skip to content
Sign UpLog In
Profile icon

Folufela Oyewole

@DavidClone
If I could code, I would. Discord is Goose#1114
  • Text Universe

    Cover page
    Made with Python

    A universe of your own creation.

    Recent comments (0)
  • RPG based off EPICRPGBOT

    Cover page
    Made with Python
    Recent comments (0)
Repls
Community
DavidClone
DavidClone
shared a Post
3 years ago
Question: Ideas
How do you guys get your project ideas? All I can think of are games, and I either forget or I never have the required skill level for executing them?
AtriDey
AtriDey
I just think of random text-based things, usually abusing infinite while loops (I posted a challenge on it lol).3 years ago
bramley
bramley
As someone who got all of his coding knowledge from looking at other projects, I usually get inspired by other people's projects. However, I have recently been asking friends for ideas.3 years ago
DavidClone
DavidClone
shared a Post
3 years ago
So lately, I've been getting into text adventures and since the majority of them have a paywall to complete, I felt cheated. I want to create my own r
MatthewDoan1
MatthewDoan1
@DavidClone Huh. Are you related to PDanielY? (Don't wanna ping him here) 3 years ago
theangryepicbanana
theangryepicbanana
Repl.it has plent of CLI support, but if you want GUI you could try Tkinter3 years ago
TramAnhAnh
TramAnhAnh
python turtle, python or pygame?3 years ago
DavidClone
DavidClone
shared a Post
3 years ago
I joined a programming competition but I need an idea(python)! Can anyone share their knowledge with me?
HackermonDev
HackermonDev
How about you create app that allows you to code?3 years ago
DavidClone
DavidClone
shared a Post
3 years ago
Why does class exist when we have functions? I know how to create a class but I don't understand why we need to use class.
ash15khng
ash15khng
Functions are basically a way to reuse code. They can only store what you want to do with it. Classes can store multiple functions and variables in them. You can also create instances of classes which can store different things. An example: class Car: wheels = 4 def init(self, colour): self.colour = colour car1 = Car("red") car2 = Car("blue") print(car1.colour) # prints "red" print(car2.colour) # prints "blue" print(car1.wheels) # prints 4 print(car2.wheels) # prints 4 car2.wh3 years ago
Masy
Masy
Classes are instances and functions are a way to do things3 years ago
Geocube101
Geocube101
Classes can be useful for creating instances and applying values to an object Functions are reusable pieces of code used for doing stuff Classes are also reusable, but can apply their values to a variable I use them for when I want a set of available functions for a variable instance. Before I knew how to make classes, I created a set of functions that did different things to lists. The object itself was never modified, but a copy was made and returned. With classes, I could drop a parameter (as3 years ago
DavidClone
DavidClone
shared a Post
4 years ago
I need help! Whenever I am creating a document and I use append it says an error. image
LiveProject
Python
HackermonDev
HackermonDev
You're supposed to use write but say "a+" when saying when you need to do with the file. > Mark this as answered if it answered your question3 years ago
DavidClone
DavidClone
shared a Post
4 years ago
Can anyone help me ? So I'm working on a game for the game jam, and I made a function but every time I ran the function it kept returning the value of
bearableschemer
bearableschemer
You should either create a class instead of a function or return the variables and keep track of them outside of the function. If you really want to do it though, this works: def add(x, state={'total': 0}): state['total'] += x print(state['total']) `4 years ago
DavidClone
DavidClone
shared a Post
4 years ago
Does anyone know how to add graphics to python code? I'm a noob at programming in general and I can't use PyGame since I don't think it supports Chrom
GaryStokley
GaryStokley
I'd like to take this course, although for now, I'm planning to get my head around web design https://masterbundles.com/ For me every detail is important, and this source helps me with this. I can always count on an abundance of designer fonts and backgrounds. And recently I found unique design elements and was able to improve the quality of my startup.6 months ago
21natzil
21natzil
Yep, you should be able to use it in any browser. For a pygame repl, click here. For a tkinter repl, click here4 years ago
AllAwesome497
AllAwesome497
turtle or (I think) pygame. If u look when u make a new repl it has both those and python so yeah4 years ago
DavidClone
DavidClone
shared a Post
4 years ago
Does anyone want to join my group for the game jam? Here's the link: https://repl.it/live/B3kWd-zR5xnG3A .
DavidClone
DavidClone
btw, the code is pyhton 2, sorry that I don't write python 3.4 years ago