User Tools

Site Tools


software_carpentary3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
software_carpentary3 [2011/06/21 03:46]
bhuvan
software_carpentary3 [2011/06/21 04:36]
medhamsh
Line 270: Line 270:
     * 11     * 11
   * Factorial of a number   * Factorial of a number
 +  * Write a program which takes a slice out of text
 +      * For example : text = "​python"​ now, slice it to yt py ho hon.
   * Finding Unique words in a given text   * Finding Unique words in a given text
-      * Count of unique words, spaces, ​numbers.+      * Count of unique words, spaces, ​number
       * Count the number of occurrences of unique words       * Count the number of occurrences of unique words
       * The unique words should be stored in a file.       * The unique words should be stored in a file.
Line 277: Line 279:
   * Find vowels consonants in a given text   * Find vowels consonants in a given text
 This is the text. Copy the the text to a file and give the name of the file as fs-dataset.txt This is the text. Copy the the text to a file and give the name of the file as fs-dataset.txt
 +
 <​code>​ <​code>​
 +
 The Free Software Definition The Free Software Definition
  
Line 735: Line 739:
 Defective By Design Defective By Design
 Free Software Foundation Free Software Foundation
-</nowiki>+ 
 +</code>
  
 ===== Regular Expressions ===== ===== Regular Expressions =====
Line 782: Line 787:
 Mr. matches Mr. and Mrs. Mr. matches Mr. and Mrs.
 Mr\. matches only Mr. Mr\. matches only Mr.
-</​code>​ 
  
 ==== Character Classes ==== ==== Character Classes ====
software_carpentary3.txt · Last modified: 2018/03/24 11:13 (external edit)