4 ms·
Something like this program tends to discourage the "let's pay for KLOCs" line of reasoning. Does $1 per line sound reasonable? :-) #!/usr/bin/env python3
by Kim_Bruning 6y ago
Something like this program tends to discourage the "let's pay for KLOCs" line of reasoning. Does $1 per line sound reasonable? :-)
#!/usr/bin/env python3
with open("pay_me_lots.py","w") as payme:
print ("#!/usr/bin/env python3", file=payme)
for i in range(1000000):
print ("print('you now owe me $"+str(i)+"')",file=payme)