This shows you the differences between two versions of the page.
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:05] bhuvan |
||
---|---|---|---|
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 735: | Line 737: | ||
Defective By Design | Defective By Design | ||
Free Software Foundation | Free Software Foundation | ||
- | </nowiki> | + | </code> |
===== Regular Expressions ===== | ===== Regular Expressions ===== | ||
Line 782: | Line 784: | ||
Mr. matches Mr. and Mrs. | Mr. matches Mr. and Mrs. | ||
Mr\. matches only Mr. | Mr\. matches only Mr. | ||
- | </code> | ||
==== Character Classes ==== | ==== Character Classes ==== |