Update calc.py
這個提交存在於:
父節點
c57f5afc7d
當前提交
001bc9d8ae
共有 1 個檔案被更改,包括 1 行新增 和 1 行删除
|
|
@ -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.
|
||||
|
|
|
|||
載入中…
新增問題並參考