Perform Calculation in python

Can you help me solve this calculation?

Erro I get now:

Remove the indent on line 17
image

@Arun_Prakash Also the formula has not been defined correctly.
Try:

for i in DrainCoefficient:
	x = ((i/10000)*ClimateFactor*RainIntensity)
	fr.append(x)
2 Likes

@AmolShah I’m learning a lot from you :slight_smile:

1 Like

I get this error, in Line 16

My bad, I didn’t see we were supplying a list.
Getting the item at index 0 from both of those lists seem to solve the issue

OR

image

1 Like

Cool :slight_smile:

I had to revise my formula a bit @AmolShah

Now I have a new error,

Use zip function

OR do something like this

1 Like

@AmolShah Thanks a lot brother, it worked perfectly, I have learnt so much both yesterday and today :slight_smile:

1 Like