理解并掌握:float转换。本课不是占位内容,示例和练习都围绕这个知识点。
price = float(input('请输入价格:')) print(price * 2)
请根据本课知识,自己写一段包含检查点的代码。
检查点:print, input, fl