This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
software_carpentary3 [2011/06/21 03:46] bhuvan |
software_carpentary3 [2018/03/24 11:13] (current) |
||
|---|---|---|---|
| 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 ===== | ||