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