Update calc.py

這個提交存在於:
Suchitainf 2020-10-14 15:24:18 +05:30 提交者 GitHub
父節點 c57f5afc7d
當前提交 001bc9d8ae
資料庫中找不到此簽署所對應的金鑰
GPG 金鑰 ID: 4AEE18F83AFDEB23

查看文件

@ -3,7 +3,7 @@ The 'calc' library contains the 'add2' function that takes 2 values and adds
them together. If either value is a string (or both of them are) 'add2' ensures
they are both strings, thereby resulting in a concatenated result.
NOTE: If a value submitted to the 'add2' function is a float, it must be done so
in quotes (i.e. as a string).
in quotes (i.e. as a string). update
'''
# If 'value' is not an integer, convert it to a float and failing that, a string.