Asterisk
-
Asterisk(*) of PythonDynamicPL/Python 2019. 10. 18. 16:15
1. Overview There are 4 cases for using the asterisk in Python. For multiplication and power operations. For repeatedly extending the list-type containers. For using the variadic arguments. (so-called “packing”) For unpacking the containers. Let’s look at each case. 2. Description 2.1 For multiplication and power operations >>> 2 * 3 6 >>> 2 ** 3 8 >>> 1.414 * 1.414 1.9993959999999997 >>> 1.414 ..