I have a question from this_exercise.
#Here is what it said in my terminal """ Traceback (most recent call last): File "script.py", line 15, in <module> test_function(calculate_shipping_cost) File "/home/ccuser/workspace/function-args-nile/test.py", line 3, in test_function test_shipping(fn) File "/home/ccuser/workspace/function-args-nile/test.py", line 21, in test_shipping print("\u2705 calculate_shipping_cost() passes tests") UnicodeEncodeError: 'ascii' codec can't encode character '\u2705' in position 0: ordinal not in range(128) """
It appears that somehow my chrome browser or my laptop can’t print this on my terminal. I had go to file test.py to delete this from
print("✅ calculate_shipping_cost() passes tests")
which fixed the error.
In the walkthrough video, his terminal printed that thing just fine.
I don’t know what is the possible causes of my problems are and how to fix it.
By the way, in case you curious, my terminal printed this after I get rid of .
"calculate_shipping_cost() passes tests"