Channel Avatar

Creativewiz @UC-oMMgCI8QXoQGcuU0ItEZQ@youtube.com

25K subscribers - no pronouns :c

---~ Lets Create Magic with Code ~--- Get ready to dive int


Welcoem to posts!!

in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c

Creativewiz
Posted 3 months ago

Understanding nonlocal in nested function.

def outer():
x = 'outer'
def inner():
nonlocal x
x = 'inner'
inner()
return x
print(outer())

7 - 1

Creativewiz
Posted 4 months ago

const person = Object.freeze({ name: 'Alice' });

person.name = 'Bob';
console.log(person.name);

6 - 0

Creativewiz
Posted 4 months ago

def calculate(a, b=5, c=10):
return a + b * c

result = calculate(2, c=20)
print(result)

5 - 2

Creativewiz
Posted 8 months ago

# Test_your_skill : Fix the error(s)

first_number = int(input()
operator = input()
second_number = int(input())

def Calculate(val1, operator, val2):
print(
f"{val1} {operator} {val2} ="+
val1 + val2 if operator == '+'
else val1 - val2 if operator == '-'
else val1 * val2 if operator == '*'
else val1 / val2 if operator == '/'
else val1 % val2 if operator == '%'
else if math_error
)

print(
Calculate(first_number, operator, second_numer)
)

8 - 2

Creativewiz
Posted 1 year ago

GLSL Shader Three Js.

18 - 9

Creativewiz
Posted 1 year ago

Convert Your Imagination Into Code.
Creative Coding, JavaScript CanvasπŸ’ͺ😈

13 - 1

Creativewiz
Posted 1 year ago

console.log('5' - - '3');

6 - 4

Creativewiz
Posted 1 year ago

console.log([] == ![]);

4 - 3

Creativewiz
Posted 1 year ago

9 - 0

Creativewiz
Posted 1 year ago

Image Particle Flocked in JavaScript Canvas.

20 - 0