0

why we can't put a number argument after a keyword argument?

23rd Jul 2017, 12:24 AM
Manoj Mudgal
Manoj Mudgal - avatar
8 ответов
+ 1
actually I'm dealing with string format( 1st tym).. and here we can pass 2 type of arguments ine is keyword & other is integer... but while providing arguments if a char argument is followed by an integer argument then it shows syntax error.... I don't get Why!!
23rd Jul 2017, 10:35 AM
Manoj Mudgal
Manoj Mudgal - avatar
0
It only accepts char If im not wrong
23rd Jul 2017, 1:49 AM
Gabrielle Cristine
Gabrielle Cristine - avatar
0
not clear
23rd Jul 2017, 10:06 AM
Manoj Mudgal
Manoj Mudgal - avatar
0
keyword,i guess you used strings , strings only accept characters (letters) if you wanted a number you should declare as int or something alike.
23rd Jul 2017, 10:17 AM
Gabrielle Cristine
Gabrielle Cristine - avatar
23rd Jul 2017, 10:17 AM
Gabrielle Cristine
Gabrielle Cristine - avatar
0
i think its because of the language you're using
23rd Jul 2017, 2:20 PM
Gabrielle Cristine
Gabrielle Cristine - avatar
0
aaaahhhh
24th Jul 2017, 2:14 PM
Manoj Mudgal
Manoj Mudgal - avatar
0
aaaahhhh
24th Jul 2017, 2:14 PM
Manoj Mudgal
Manoj Mudgal - avatar