def myfun(): string=input("Enter string : ") string=string.replace('a','$') string=string.replace('A','$') print("Modified string : ") print(string) if __name__=="__main__": myfun()
Enter string : sateesh Modified string : s$teesh
Java Interview Questions
Python Interview Questions
Oracle Interview Questions
100 Most Asked Java Interview Questions and Answers
HR Interview Questions and Answers
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Java program to print the sum of two numbers
Write a Java program that takes two numbers and display the product of two numbers
Write a Java program to check if a positive number is a palindrome or not
Add all the digits of a given positive integer until the result has a single digit
Write a java program to add two matrix
Write a python program to convert uppercase strings and we want to convert them into lowercase strings and remove duplicates ?
Write a program to merging dictionaries
Write a Python program to convert kilometers to miles.
Write a Python Program to Display Fibonacci Sequence Using Recursion.
Write a python program to merge nested lists ?
Java Quiz - 19
Java Quiz - 22
Java Quiz - 18
Java Quiz - 8
Java Quiz - 17