If only one parameter is passed to the function, it will return a float ... To convert a floating-point random number to an integer, use the int() function.
確定! 回上一頁