Marc_
@Marc-020513
Hi! I am Marc. I like coding, especially in Python, HTML, CSS, and JS. For more info, visit marcchew.is-a.dev, my site.
Public Repls
Community
0
SoftBody-testSimple 3d softbody in three.js
0
0
1
completecodeA free ghostwriter.
Made usin OpenAI CodeX.
Example:
def Push(data):
global StackData, StackPointer
if StackPointer == len(StackData):
print("Stack is full")
What the AI wrote:
else:
StackData[StackPointer] = data
StackPointer += 1
def pop():
global StackData, StackPointer
if StackPointer == 0:
print("Stack is empty")
else:
StackPointer -= 1
return StackData[StackPointer]
def printStack():
global StackData, StackPointer
print(StackData[:StackPointer])
StackData = [0 for _ in range(10)]
StackPointer = 0
push(1)
push(2)
push(3)
push(4)
push(5)
push(6)
push(7)
push(8)
push(9)
push(10)
push(11)
printStack()
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
print(pop())
printStack()
Benefits: It writes more code and can complete whole programs
disadvantages: It requires meaningful function and variable names to be accurate, and requires more time to complete the code.
1
1
122
Chromebasically chromium
1.7K
122
0
Calculator PWAThis is a simple utility calculator. Enjoy!
12
0
0
COVID-19 DATAThis is just to find COVID data.
1
0
0