4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

お金を貸してと言ったら「といちですよ」といわれたので

Posted at

お金を貸してといったら、「といちですよ。」といわれて、一体いくらになるのか怖くなったので、
いくらになるか計算するPythonワンライナーを考えてみた。

lambda days, dept, l=lambda days, dept: True and [globals().__setitem__("t",lambda dept:globals().__setitem__("ret",dept))] and [t(dept)] and [1.1 for x in range(1,days + 11) if x % 10 == 0]: reduce(lambda x, y: [globals().__setitem__("ret", ret * y)] and ret , l(days, dept))

_(借りてから経過した日付, 借りたお金)

複利って怖いですね。

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?