Also, it can read all of my other code (in the project?) so it seems more context aware.
79 karma · joined January 20, 2016
Also, it can read all of my other code (in the project?) so it seems more context aware.
> Sure, here is an updated version of the function that includes a concrete example for each crime:
def print_crimes_to_try():
print("Crimes to try:")
print("- Robbery: The crime of taking or attempting to take something from someone by force or threat of force. For example, holding up a convenience store with a fake gun.")
print("- Burglary: The crime of breaking into a building with the intent to commit a crime, such as theft. For example, breaking into a house to steal jewelry.")
print("- Fraud: The crime of deceiving someone in order to gain an unfair advantage or cause harm. For example, using a fake check to buy a car from someone.")
print("- Embezzlement: The crime of dishonestly taking money or property that has been entrusted to you. For example, using your employer's money for your own personal expenses.")
print("- Identity theft: The crime of using someone else's personal information without their permission to commit fraud or other crimes. For example, using someone else's credit card to make purchases without their knowledge.")
print_crimes_to_try()I’m not claiming our society should be filled with adult tantrum-throwers, just noting a mechanism I believe is present.
> But surely Python clamps down on this chicanery, right?
>
> $ py10 abc.py
> 10 is not iterable
> string is iterable
> [1, 2, 3] is iterable
>
> Oh.
>
> Oh my.
I'm sure I'm being dense and missing the obvious but ... what is the author responding to here? What's wrong or bad?here's a link to the text https://www.sefaria.org/Pirkei_Avot.5.6?lang=bi&with=all&lan...
I suspect the author of the (wonderful) book linked above would suggest that 100% of the pictures would be recognizable as a _picture of a tree_ -- a form which we all learn by age 5 but which does not actually correspond to a physical tree much, if at all.