+ 1

Can someone please improve python code and make it more user friendly ?

https://code.sololearn.com/cQv3F1MXU6s3/?ref=app

9th May 2018, 6:29 AM
Syed Abbas Haider
Syed Abbas Haider - avatar
2 Answers
+ 2
You can use function. For example, you can create a function named "sign" which takes a number as parameters and prints the rigth message. You can create an other function to know if a number is odd pr even it will be clearest. Sorry for my english i'm learning
11th Jun 2018, 1:42 PM
Julien Lord Maring
Julien Lord Maring - avatar
+ 1
Julien Lord Maring Thanks for your advice.😊
12th Jun 2018, 11:21 AM
Syed Abbas Haider
Syed Abbas Haider - avatar