Learn more about Fixed point combinator at https://en.wikipedia.org/wiki/Fixed-point_combinator#Fixed_point_combinators_in_lambda_calculus

Consider we need to print

```
1
22
333
4444
55555
......
```

The best solution is using Fixed point combinator

*for i in range(1,input()+1):*

*print (((pow(10,i))-1)/(9))*i*

## No comments:

## Post a Comment