Python remove character
I have tried remove and del but I can't figure out how to remove a character Pls help https://code.sololearn.com/c6a629z82X1o/?ref=app
There is no method or attribute like remove for string , Here I found ways to to remove character from a string but original string still won't be affected https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.askpython.com/python/string/remove-character-from-string-python&ved=2ahUKEwj5xvjCpsTsAhULyDgGHfkwBjsQFjAMegQIDxAB&usg=AOvVaw1MyEnwEKtWO283pvwazpGc&cshid=1603235779210 You can simply use replace method in case you don't wanna go through link string=string.replace(a,"")
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?