Iam using sololearn on Mobile phone.I couldn't type in the output to get my answer . I couldn't type number down in output... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Iam using sololearn on Mobile phone.I couldn't type in the output to get my answer . I couldn't type number down in output...

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

19th Aug 2023, 11:03 AM
Sheetal
Sheetal - avatar
3 Answers
+ 4
M Charanmitha What specific output you want? This code is correct.. Its checks if `a` is even using the expression `a%2==0`. It will print 1 if `a` is even & 0 if `a` is odd.
19th Aug 2023, 11:13 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 4
M Charanmitha , This problem you asked in your previous questions too...that you have to print the user input to show it in console... The purpose is for neat console view... Like this, https://code.sololearn.com/cdjF4vbYVjqI/?ref=app
19th Aug 2023, 11:30 AM
Riya
Riya - avatar
+ 1
you should insert your variables values in order space separated in submit dialog!.
19th Aug 2023, 11:22 AM
Sultan Khalid
Sultan Khalid - avatar