Search This Blog
Mr.Coder
A Website of codes and programs of different programming languages.
Posts
Latest Posts
Write a program to repeatedly prompt the user to enter the capital of a state. Upon receiving the user’s input, the program reports whether the answer is correct. Assume the states and their capitals are stored in dictionaries as key-value pairs
- Get link
- X
- Other Apps
Write a program to perform below operations on dictionary: ● Create a dictionary. ● Print dictionary items. ● Add/remove key-value pair in/from a dictionary. ● Check whether a key exists in a dictionary. ● Iterate through a dictionary. ● Concatenate multiple dictionaries.
- Get link
- X
- Other Apps
Write a program to perform below operations on set: ● Create two different sets with the data. ● Print set items. ● Add/remove items in/from a set. ● Perform operations on sets: union, intersection, difference, symmetric difference, check subset of another set.
- Get link
- X
- Other Apps
Write a program to eliminate duplicate values in the list.
- Get link
- X
- Other Apps
Write a program that counts the occurrences of each digit in a string. The program counts how many times a digit appears in the string. For example, if the input is "12203AB3", then the output should output 0 (1 time), 1 (1 time), 2 (2 times), 3 (2 times).
- Get link
- X
- Other Apps
Write a program to perform the below operations on the list : ● Create a list. ● Add/Remove an item to/from a list. ● Get the number of elements in the list. ● Access elements of the list using the index. ● Sort the list. ● Reverse the list.
- Get link
- X
- Other Apps
Simple Python program to read 'n' numbers from users and calculate the average of those numbers.
- Get link
- X
- Other Apps
Make Python Program To Calculate of Body Mass Index.
- Get link
- X
- Other Apps
write a python program for Grading system .
- Get link
- X
- Other Apps
write a python program to find given year is leap year or not.
- Get link
- X
- Other Apps
write a python program that computes the real roots of a given quadratic equation (use math library)
- Get link
- X
- Other Apps
Write a python program to calculate area and the volume of sphere .
- Get link
- X
- Other Apps
Write a python program to find a maximum of given three numbers (use ternary operator)
- Get link
- X
- Other Apps
Write a python program to Calculate compound interest.
- Get link
- X
- Other Apps
Write Code to Calculate simple interest in python.
- Get link
- X
- Other Apps
Write a Python Code to Calculate simple interest and compound interest.
- Get link
- X
- Other Apps
Write a python program to compute the slope of a line between two points (x1,y1) and (x2,y2).
- Get link
- X
- Other Apps
Write a python program to convert temperature form celsius to fahrenheit .
- Get link
- X
- Other Apps
Write a python program to read your name, contact number, email and birthdate and print those details on screen.
- Get link
- X
- Other Apps