Recursively find the factorial of a natural number.
|
Written by Super User |
417 |
Read a file line by line and print it
|
Written by Super User |
407 |
Remove all the lines that contain the character `a' in a file and write it to another file
|
Written by Super User |
555 |
Write a random number generator that generates random numbers between 1 and 6 (simulates a dice)
|
Written by Super User |
746 |
Write a recursive code to find the sum of all elements of a list.
|
Written by Super User |
330 |
Write a recursive code to compute the nth Fibonacci number.
|
Written by Super User |
420 |
Write a Python program to implement a stack using a list data-structure.
|
Written by Super User |
348 |
Write a Python program to implement queue using a list data-structure.
|
Written by Super User |
340 |
Write a recursive Python program to test if a string is a palindrome or not.
|
Written by Super User |
424 |
Write a Python program to plot the function y = x*x using the pyplot or matplotlib libraries.
|
Written by Super User |
322 |