Pyupgrade to python3.8 (#3616)
* Upgrade to Python 3.8 syntax
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -62,5 +62,5 @@ if __name__ == "__main__":
|
||||
i = 10
|
||||
while i <= 100000:
|
||||
area = trapezoidal_area(f, -5, 5, i)
|
||||
print("with {} steps: {}".format(i, area))
|
||||
print(f"with {i} steps: {area}")
|
||||
i *= 10
|
||||
|
||||
Reference in New Issue
Block a user