Non Uniform Area Load

Hi all,

I am trying to create non uniform area loads using Python, but I am new to it. Can anyone say what is wrong?


Thanks!