+ 1
Can You make a python program which follows these condition.
num = 23. If num == (any decimal number like 12.32) Return 'decimal' elif num==(any whole number like 23) Return 'whole number' else Return 'string'
1 Antwort
+ 2
You can use an input statement for getting a number.