Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

ChatGPT python code doesn't work, need help

$
0
0

Hello all,

I created python code through ChatGPT, once Im inserting it into python node in GH it dont work,

I`d need help of people who can know what is wrong.

this is description of what do I need:

Python code for Grasshopper node, if input value x between 0-19 then output value a=0, if input value x between 20-39 then output value a=1, if input value x between 40-59 then output value a=2, if input value x between 60-79 then output value a=3, if input value x between 80-100 then output value a=4.

this is the result from chatGPT code:

Thank you for help.

5 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles