Delete known character?
new to python and having a mind block here. I have two sets of data:
word = Boat
char = B
'char' will always be the first letter of 'word', that letter should be
deleted. How could I go about doing this? All I've got so far is which I'm
not even sure about either is...
def new_word('word', 'char'):
if name[0].lower() is str(con):
No comments:
Post a Comment