Functions in Python (Applied to word counting and word search)

preview_player
Показать описание

SOCIAL:

WEBSITES:

COURSE DESCRIPTION:

What is Python and why is it important?
Python is an interpreted text based general purpose programming language, which is a key requisite of the 7-10 Digital Technologies Curriculum. Python is also the only professional programming language that was designed with beginners in mind, it is intuitive and easy to use

What are the student outcomes?
Students learn about core concepts of programming: branching, iteration and functions. They apply these to create four applications which perform the following:
Simulation of an intelligent conversation
User Authentication using passwords and/or secret questions
A game where user guesses a number and the program informs the user of his accuracy over time
A program that encrypts and decrypts messages using the Caesar Cypher

What is the educational approach of the course?
The course explicitly teaches the concepts such as loops or functions, performing several examples in the interactive shell. Then these concepts are employed to create a computer program these programs progress in their level of difficulty, eventually performing complex tasks like encryption Beyond the concepts and applications students will also learn the following skills:
Creating algorithms which can be represented in the form of flowcharts, which are in turn easy to translate to code.
Building programs in separate stages each of which can be tested
Getting insight and understanding from error messages

-~-~~-~~~-~~-~-
Latest and Best Arduino Playlist in Collaboratio with DFRobot:
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Hi.. thanks for the clear explanation. If we want to search a combination of words say, %are% and %you% (or more combination), in the same order, or irrespective of order from a very long string, how to write the program.

kirubhatruman