Recursively find the factorial of a natural number.
|
Written by Super User |
518 |
Read a file line by line and print it
|
Written by Super User |
513 |
Remove all the lines that contain the character `a' in a file and write it to another file
|
Written by Super User |
739 |
Write a random number generator that generates random numbers between 1 and 6 (simulates a dice)
|
Written by Super User |
844 |
Write a recursive code to find the sum of all elements of a list.
|
Written by Super User |
434 |
Write a recursive code to compute the nth Fibonacci number.
|
Written by Super User |
529 |
Write a Python program to implement a stack using a list data-structure.
|
Written by Super User |
459 |
Write a Python program to implement queue using a list data-structure.
|
Written by Super User |
448 |
Write a recursive Python program to test if a string is a palindrome or not.
|
Written by Super User |
533 |
Write a Python program to plot the function y = x*x using the pyplot or matplotlib libraries.
|
Written by Super User |
423 |