0

Guys, please give me a solution for this code

Fill in the blanks to print the first element of the list , if it contains even number of elements . list =[1, 2,3,4] if___(list)%2==__ : print(list[__] )

24th Nov 2021, 4:27 AM
احمد علي
احمد علي - avatar
6 odpowiedzi
+ 8
This is not a place for asking free assignment answers. If you ask a doubt we can answer, but we don't give direct answers. Refer the following rules to ask on the discussion forum https://www.sololearn.com/discuss/1316935/?ref=app
24th Nov 2021, 5:41 AM
Rishi
Rishi - avatar
+ 11
احمد علي i could see in your profile that you have joined sololearn just >1 day< ago, and you have already done more than 50 % of the tutorial. wow - this is like a formula1 race. but i am sure that is not helpful for developing coding skills, and you also miss experience. => so please slow down, take your time, learn and practice and repeat. this is better than asking the community for doing your job. happy coding and good success!
24th Nov 2021, 11:26 AM
Lothar
Lothar - avatar
+ 7
Rishi , it is no typo, j just wanted to highlight '1 day'. it would be better in a kind of formatting like bold, but this is not available.
24th Nov 2021, 6:43 PM
Lothar
Lothar - avatar
+ 4
What have you done so far
24th Nov 2021, 9:52 AM
Shadoff
Shadoff - avatar
+ 3
Shadoff probably just waiting😗
24th Nov 2021, 10:21 AM
Rishi
Rishi - avatar
+ 2
Lothar what is ">1 day< ago"? Probably just a typo, correct it =)
24th Nov 2021, 2:38 PM
Rishi
Rishi - avatar