diff --git a/README.md b/README.md index 326ebdc..1ac3cc4 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,16 @@ Code samples and other handouts for our course. See the [**practice exercises**] ## Course Summary +The python language is one of the most accessible programming languages available because it has simplified syntax and not complicated, +which gives more emphasis on natural language. +Due to its ease of learning and usage, python codes can be easily written and executed much faster than other programming language +Python is a general purpose and high level programming language. You can use Python for developing desktop GUI applications, websites, designing ML and AI algorithms. + Learning to program can be overwhelming. Concepts and facts come at you fast and most courses don't cover many of them at all or at a beginner's pace. **This is not most courses**. Python for absolute beginners is our premier course for beginning developers. We start at the very beginning, teaching you the big ideas and concepts covered in a CS 101 course. Then we move on to writing increasingly complex code and applications in Python. +This course design in such a way one can learn while contributing in real-time like projects which make the learning even faster. + +So what you are waiting for let's get started now and change the world with the power of programming language. ## What students are saying diff --git a/practices/ch05_interactive_code/readme.md b/practices/ch05_interactive_code/readme.md index 040d097..4018293 100644 --- a/practices/ch05_interactive_code/readme.md +++ b/practices/ch05_interactive_code/readme.md @@ -73,6 +73,27 @@ Then we can test whether a number is even if it is evenly divisible by 2 or has remainder = num % 2 # Is this 0 or 1? ``` +### How let the user enter multiple inputs ? + +create a new .py file and enter below code. below code is for reference, you can try below code with any problem you want to solve that gives multiple entering +inputs ability to the user. + +def sampleMP(): + n = int(input(Enter number of input : )) # asking the user how much inputs they want to enter, each line contain one input + allInput = [] + count =0 # Initialise the counter to keep track of inputs user entering + while True: + if count == n: # if count become equal to n then break + break + else: # else continue asking input from user + ip = int(input()) + allInput.aapend(ip) + print(allInput) + + +# Practice above concept of taking inputs from user with problem like matrix_multiplication(matrix can be 2X2, 3X3, 3x2), then you will understand the power of the +concept. + ## Exercises