Solution of challenges | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Solution of challenges

Questions asked in challenges do not provide their solution after it is completed . Whenever I am wrong ,i want to know why and how can i correct it so that i do not make same mistake again. But they provide only answers not solution. What should i do, how may i know the solutions??

10th Oct 2020, 11:48 AM
Anushka Jaiswal
Anushka Jaiswal - avatar
14 Answers
+ 6
Anushka Jaiswal Ohh sorry , I didn't get that in the first place. Anyways if you are unable to get the logic of any code it's best to go line by line (something like a dry run but on a notebook not on IDE) that way you will get to any conclusion. And if you still face problems, copy and paste the code in sololearn code playground and post a question in QnA section That way others would be able to help you..
10th Oct 2020, 12:07 PM
ADITYA KHANDELWAL
ADITYA KHANDELWAL - avatar
+ 8
Actually the correct answers are shown after your opponent completes the challenge too. Along with the results, its shown which questions you did wrong and also their correct answers.
10th Oct 2020, 11:54 AM
ADITYA KHANDELWAL
ADITYA KHANDELWAL - avatar
+ 6
Do practice for Challenges solutions u have to learn basics solve them after match
10th Oct 2020, 12:09 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 5
♨️♨️ thanks 🙂
10th Oct 2020, 12:15 PM
Anushka Jaiswal
Anushka Jaiswal - avatar
+ 4
Anushka Jaiswal U can search same topics Questions on Google u will find solution but if u have doubt's in any questions u can ask on Discussion box
10th Oct 2020, 12:11 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
ADITYA KHANDELWAL i want to know solutions, even if i know answers i don't know how is that the correct answer?? Want to know the logic behind it.
10th Oct 2020, 12:02 PM
Anushka Jaiswal
Anushka Jaiswal - avatar
+ 3
Anushka Jaiswal didi, Take a screenshot of problem and post it in your feed. Then ask a question with link that post.
10th Oct 2020, 12:12 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 3
Slick i get that👍🙏
10th Oct 2020, 12:13 PM
Anushka Jaiswal
Anushka Jaiswal - avatar
+ 3
Ask the community.
11th Oct 2020, 1:40 PM
Sonic
Sonic - avatar
+ 2
Thats when you take out the debugger and single step through the program while watching important variables. If you follow it one step at a time you will always see exactly why you got something wrong. It'll just take a bit longer
10th Oct 2020, 12:04 PM
Slick
Slick - avatar
+ 2
🇮🇳Vivek🇮🇳 brother i know they provide answers, but they do not provide solutions , logic , like how did it happened?
10th Oct 2020, 12:09 PM
Anushka Jaiswal
Anushka Jaiswal - avatar
+ 1
Because they already made a whole app. What more do you want?! If you are unable to implement it, I feel like you can't complain about it and if you can, then what are you waiting for?
10th Oct 2020, 12:12 PM
Slick
Slick - avatar
0
players = ["Alice", "Bob", "Charlie", "David", "Eve", "Frank"] #Create 3 lists with 2 players each #Use slicing to create a list for Group 1 g1=players[0:2] #Use slicing to create a list for Group 2 g2=players[2:4] #Use slicing to create a list for Group 3 g3=players[4:6] print("Group 1:",g1) #display the 1st group print("Group 2:",g2) #display the 2nd group print("Group 3:",g3) #display the 3rd group
30th Nov 2023, 7:01 AM
Thabo Egon
Thabo Egon - avatar
0
The above code runs errors. It says the .group name's are missing quotes
30th Nov 2023, 7:02 AM
Thabo Egon
Thabo Egon - avatar