日常の記録 (2024 年 5月)
前月 、翌月 | 一覧 |
トップページ
2024/5/3 (金)
- Today, I have done nothing. However, it was very fulfilling. Therefore, I made some kind of quiz by Python 3. It should be solvable with the information on the internet.
quiz.py
def f():
n = 2101973088xxx # <- Need to rewrite. Hint: prime numbers.
for i in range(300):
if n % i == 0:
return i
return 0
def main():
i = 0 # <- Need to rewrite based on the information on the Internet.
id, actid = i + f(), i
print(id, actid)
main()
Next, I give some kind of picture because the season where there're a lot of Gs at home is coming. rotf.