<p>Anybody running a Python Review Bot that knows to reject this kind of absolute nonsense?</p><p> import datetime as dt<br /> <br /> LAUNCH = dt.datetime.now()<br /> <br /> <br /> def main() -&gt; None:<br /> now = dt.datetime.now()<br /> <br /> when = now<br /> when = LAUNCH<br /> <br /> print(f&quot;Oh yea we care most about {when}, trust me&quot;)</p><p>The tupo here is that I wrote the assignment twice. Doctor, doctor, it hurts. Yea, I know. Don&#39;t do that</p><p>Odds on, I was struggling to choose if I wanted to focus on the time of Process Launch, or the later time of running this Code. But then someone kind swung by my cube and asked me if my day was going well. In whatever distraction it was, I forgot to delete my wrong choice. It silently ran on and shipped as my second choice, and the last choice wins in assignments, of course, no matter how unreasonably wrong that last choice is</p><p><a href="https://social.vivaldi.net/tags/PythonIsEaSy" class="mention hashtag" rel="tag">#<span>PythonIsEaSy</span></a> # PyThOn Is EaSy</p><p>=&gt;</p>
Reply