
M=input (" please enter the specific quality:)
Int=(m)
Def g2kg (m) :
M=M/1000
Return the STR (M) + 'kg
Print (g2kg (" % d ", m))
CodePudding user response:
M=float (input ())M/=1000
Print (" {m} kg ") f
CodePudding user response:
M=int (input (" please enter the specific quality: "))
Def g2kg (m) :
M=M/1000
Return the STR (m/1000) + 'kg
Print (g2kg (m))
Feel the original poster to learn very complex is a mess, there are a lot of wrong usage, recommend to review the basic knowledge,
CodePudding user response:
The building Lord Python, c, Java, c # may also see the tutorial of go