Question: Using python. Thanks Q1 - Come up with the most creative expression that evaluates to 2020, using only numbers and the +, *, and -
Using python. Thanks
Q1 - Come up with the most creative expression that evaluates to 2020, using only numbers and the +, *, and - operators. You should replace the underscores in return ______ with the expression that evaluates to 2020.
| def twenty_twenty(): """Come up with the most creative expression that evaluates to 2020,using only numbers and the +, *, and - operators. >>> twenty_nineteen() 2010 """ return ______ |
Sample Submission:

def twenty_twenty: "Come up with the most creative expression that evaluates to 2020, using only numbers and the +, *, and - operators. >>> twenty_nineteen 2020 return 1 + 1 11 2 + 3 + 4 * ((5 // 6) + 7 + 8 + 9) Python 3.7.0 Shell Python 3.7.0 (V3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) [Clang 6.0 (clang-600.0.57)] on darwin Type "copyright", "credits" or "license " fo r more information. ======= RESTART: Users/irfanortak/GDrive/APE RALTA/CIS61/LABS/Lab1.py ------- >>> twenty-twentyo 2020 Ln: 8 Col: 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
