回答編集履歴
1
追記
answer
CHANGED
@@ -1,3 +1,7 @@
|
|
1
1
|
```Python
|
2
2
|
print((lambda o: {i: setattr(o, 'v', o.v + i) or o.v if i % 6 == 0 else o.v for i in range(1, 100+1)})(type('', (object, ), {'v': 0})())[int(input())])
|
3
|
+
```
|
4
|
+
|
5
|
+
```Python
|
6
|
+
print((lambda whilewhilewhile: {whilewhile: setattr(whilewhilewhile, 'whilewhilewhilewhile', whilewhilewhile.whilewhilewhilewhile + whilewhile) or whilewhilewhile.whilewhilewhilewhile if whilewhile % 6 == 0 else whilewhilewhile.whilewhilewhilewhile for whilewhile in range(1, 100+1)})(type('while', (object, ), {'whilewhilewhilewhile': 0})())[int(input())])
|
3
7
|
```
|