Back to List

Some sample Python code

Posted by Neville Dinning
10
Jul 3, 2016
50 Views
Here's a trivial little task that I worked on as part of an online course that in part used Python as a means to learning to think like a Computer Scientist. The aim was to learn a little about strings and string manipulation. I adapted the original task from identifying if a small word was contained in a much larger word or random nonsense word. In the example used in the post, all of the vowels were extracted from a movie title and the remaining letters were printed out. Using the same process, can you guess this movie title: *nd*p*nd*nc* D*y? Will you be the first to work that out? Write your answer as a comment. If it's already been answered, can you supply another movie title for others to guess (also as a comment).
Comments
avatar
To join the discussion, simply log in with your Google or Facebook account.

How it works:

  1. Click one of the login buttons above
  2. You'll be redirected to the authorization page
  3. After logging in, you'll be returned to the forum
  4. Your guest account will be automatically created if it's your first time

© APSense LTD. All-in-One Business Hub. All Rights Reserved. This forum service is provided by APSense.com