Recursively find the factorial of a natural number.
|
Written by Super User |
Hits: 578
|
Read a file line by line and print it
|
Written by Super User |
Hits: 563
|
Remove all the lines that contain the character `a' in a file and write it to another file
|
Written by Super User |
Hits: 823
|
Write a random number generator that generates random numbers between 1 and 6 (simulates a dice)
|
Written by Super User |
Hits: 897
|
Write a recursive code to find the sum of all elements of a list.
|
Written by Super User |
Hits: 479
|
Write a recursive code to compute the nth Fibonacci number.
|
Written by Super User |
Hits: 617
|
Write a Python program to implement a stack using a list data-structure.
|
Written by Super User |
Hits: 513
|
Write a Python program to implement queue using a list data-structure.
|
Written by Super User |
Hits: 495
|
Write a recursive Python program to test if a string is a palindrome or not.
|
Written by Super User |
Hits: 584
|
Write a Python program to plot the function y = x*x using the pyplot or matplotlib libraries.
|
Written by Super User |
Hits: 476
|