+ 10

Quiz answers

I think all of us already tried the quiz section out. But if you look closer, there is no answer section where the user is able to see how the right answer should look like. It would be awesome if sololearn invite the right answer section:D So now, what's your opinion about the quizes? Have a great day guys!!! ;D

16th Jun 2017, 7:01 PM
TrueJu
TrueJu - avatar
18 Respuestas
+ 6
there is but it's a little hidden https://code.sololearn.com/W5UBa2UjGztc/?ref=app
22nd Jun 2017, 3:46 PM
Cheesy Game Studios
Cheesy Game Studios - avatar
+ 4
You need to calculate how many products of the given price you can buy with the given money amount. Fill in the blanks to make the code work and output the result. int price = 8; int money = 566; int count = money price; ("%d", );
18th Nov 2023, 10:42 AM
Nezal Muhammed
+ 2
yes, I do agree. There should be some sort of answer list too along with the explanation so that the one can understand how the solution has come and what is the concept behind it.
25th Jul 2018, 6:05 PM
Anuj Saraswat
Anuj Saraswat - avatar
+ 2
img svg
15th May 2022, 11:06 PM
Abdelrahman Ahmed
+ 1
Parentheses are balanced, if all opening parentheses have their corresponding closing parentheses. Given an expression as input, we need to find out whether the parentheses are balanced or not. For example, "(x+y)*(z-2*(6))" is balanced, while "7-(3(2*9))4) (1" is not balanced. The problem can be solved using a stack. Push each opening parenthesis to the stack and pop the last inserted opening parenthesis whenever a closing parenthesis is encountered. If the closing bracket does not correspond to the opening bracket, then stop and say that the brackets are not balanced. Also, after checking all the parentheses, we need to check the stack to be empty -- if it's not empty, then the parentheses are not balanced. Implement the balanced() function to return True if the parentheses in the given expression are balanced, and False if not. Sample Input: (a( ) eee) ) Sample Output: False
17th Aug 2021, 4:21 AM
S.kasi viswanathan
S.kasi viswanathan - avatar
0
how to answer the code
29th Nov 2018, 11:30 AM
Muhammed002
0
am new here help
29th Nov 2018, 11:32 AM
Muhammed002
0
What is the function of the new int; expression?
3rd Apr 2019, 12:03 PM
Bayu setiawan
0
Yeet
17th May 2019, 5:33 PM
Akuma Raz
Akuma Raz - avatar
0
Fill in the blanks to add "my.svg" to the page:
11th Apr 2021, 10:44 AM
Maheshwaran S
0
Fill in the blanks to use a conditional expression to assign 8 to y if x is greater or equal to 5: If x is less than 5, assign the value of x to y.
16th Apr 2021, 11:07 AM
M.R.Shenbagalaxmi
M.R.Shenbagalaxmi - avatar
0
Inserting SVG Images Fill in the blanks to add "my.svg" to the page: <img src="my.svg" width="300px" alt="" />
23rd Oct 2022, 3:32 PM
farid khairy
0
Fill in the blanks to make a correct input statement.
10th Jun 2023, 4:57 PM
indiani
0
Fill in the blanks to make a correct input statement.
10th Jun 2023, 4:57 PM
indiani
0
you need to calculate product of program. int price=8; int money = 566; int count=money ( ) price; printf(%d, count) ;
13th Nov 2023, 3:57 AM
sharma kanhaiya
sharma kanhaiya - avatar
0
need to calculate how many products of the given price you can buy with the given money amount. Fill in the blanks to make the code work and output the result. int price = 8; int money = 566; int count = money price; printf ("%d", count );
11th Jan 2024, 1:53 PM
Amruta Chillal
Amruta Chillal - avatar
0
int price = 8; int money = 566; int count = money price; printf ("%d", );
14th Feb 2024, 2:28 PM
Raja Dharshini M
Raja Dharshini M - avatar
- 1
#your code goes here arr=[5,8,8,3,3,4,4,3,8,5,3,3,3,4,4,8,5,8,5,3]; sum= 0; k=0; for i in range(len(arr)): if arr[i] !=8: sum+=arr[i]; k=k+1; print(sum/k);
17th Aug 2021, 4:48 AM
S.kasi viswanathan
S.kasi viswanathan - avatar