+ 1

What is the output of the following? print ( '11' .isnumeric()) a) True b) False c) None d) error

4th Jul 2016, 10:49 AM
shekhar
shekhar - avatar
7 odpowiedzi
+ 2
True... you can always check it on "Code Playground" ;-)
4th Jul 2016, 1:59 PM
Nelson Urbina
Nelson Urbina - avatar
+ 2
Answer A is correct, because both chars in the string '11' are numbers. If the string was '1a', is the result false.
4th Jul 2016, 4:58 PM
Hein Pauwelyn
Hein Pauwelyn - avatar
+ 1
answer will be true....
30th Jul 2016, 4:25 PM
Aakash Sharma
Aakash Sharma - avatar
0
a
5th Jul 2016, 5:58 PM
Rohit
0
The answer will be (a) true
5th Jul 2016, 6:01 PM
shekhar
shekhar - avatar
0
a
29th Jul 2016, 10:36 PM
Narek Tonoyan
Narek Tonoyan - avatar
- 1
a
4th Jul 2016, 11:34 AM
leon