var = '{foo} {foo} {foo}'.format(foo = 'python you so crazy')
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
text = "python is too difficult , I have a good experience with it"
#python is too difficult I am using this text for example only
print(text.replace('difficult', 'easy'))
#####output#####
#python is too easy , I have a good experience with it
s = 'Some String test'
print(s.replace(' ', '-'))
# Output
# Some-String-test
plot.savefig(f'hanning{num}.pdf') # added in Python 3.6