A random.random() Joseph Wilbrand Weblog

A random.random() Joseph Wilbrand Weblog

Python3

FreeCodeCamp: Arithmetic Formatter (Solution)

Untitled13-2

Note: for pytest, final line should only read: return string

pytest
==================================== test session starts ====================================
platform linux — Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /home/runner/FreeCodeCamp-Project-1-Arithmetic-Formatter
collected 10 items

test_module.py ………. [100%]

==================================== 10 passed in 0.10s =====================================

Categories:
Python3
You Might Also Like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.