0

Wap to input a number and check whether it is single, double or n digit number

Without using loop

30th Apr 2020, 2:25 PM
Aksha Shahnwaz
Aksha Shahnwaz - avatar
3 odpowiedzi
+ 1
Yeah your Programm checks how many Digits n has. It works
30th Apr 2020, 3:36 PM
Alexander Thiem
Alexander Thiem - avatar
0
n=int(input ('' Enter a number '')) n=str(n) l = len(n) print (l, '' digit number '') Plzz anyone check whether it is correct or not.
30th Apr 2020, 2:27 PM
Aksha Shahnwaz
Aksha Shahnwaz - avatar
0
Thnxxx for help.... 😄
30th Apr 2020, 6:38 PM
Aksha Shahnwaz
Aksha Shahnwaz - avatar