这是我的python程序,每当我尝试运行它时,我都会在第3行的weight_kg处收到该错误,我今天才开始学习这种语言,所以我不确定是什么问题
//------------------------------------------------------------------------------
void DlgA::OnMouseMove(UINT nFlags, CPoint point)
//------------------------------------------------------------------------------
{
HWND hwnd = ::GetActiveWindow();
if (pDlgB != NULL)
{
if (hwnd == pDlgB->GetSafeHwnd())
{
// Make the focus switch automatically
SetFocus();
}
}
}
答案 0 :(得分:0)
height_m=float(input("enter the height:")
您需要在此行的末尾添加一个额外的括号