Python Exercises for Practice - Exercise 4

 Solution of the Python problem!

This is the Question,


Python Basic: Exercises, Practice, Solution - w3resource

The Input coded by me,


Here, I used the List Function count, Syntax <list_name>.count(value). here the value I and want to count is 4 And then I will command print function of PYTHON.

I get the Output, It's 2

                                                     

This solution is by the Owner of the question,  
       


Thanks;)
                                                                                                                                                                                                                                                                          


                                 


Comments

Popular posts from this blog

Python Exercises for Practice - Exercise 1

Python Exercises for Practice - Exercise 3

Python Exercises for Practice - Exercise 2