0
Python TinderTall Code
Can someone review the following python code and tell me if it is correct. Or how I can make it better? Thank you. ââââââââ CentTall = input('what is her height in centimeters?') InchTall = int(CentTall) % 2.54 if InchTall < 68 : print('Keep her!') else : print('bye!')
3 Respostas
+ 1
What is purpose of code and what it is doing please tell.
+ 1
it is more simple
no.of centimetersĂ0.39=no.of inches.
And your code is right.
0
its supposed to convert centimeters to inches and if the inches are below 68, then it will print - keep her. If the inches are above 68 then the code shoukd print - bye.