0
not take input please help
#python 2.7.15 name=input('enter yor name:') print("all is well"+name)
11 Respostas
0
#python 2.7.15
letter='''Dear <|name|>,\n your are salected,Date <|date|>'''
name=raw_input("enter yor name")
date=raw_input("enter dalte")
letter=letter.replace("<|name|>",name)
letter=letter.replace("<|date|>",date)
print(letter)
+ 2
There's python 3.9 which is much much better and less work
+ 2
https://wiki.python.org/moin/Python2orPython3
+ 2
name=input('enter your name:')
print(f'all is well {name}')
+ 1
Why would you use python 2.7
0
Use raw_input instead of input for python 2.7
name=raw_input('enter your name:')
print('all is well '+name)
0
thank u
0
Chigozie Anyaeji 🇳🇬 how to take string in python
0
Chigozie Anyaeji 🇳🇬#python 2.7.15
letter='''Dear <|name|>,\n your are salected,Date <|date|>'''
name=input("enter yor name")
date=input("enter dalte")
letter=letter.replace("<|name|>",name)
letter=letter.replace("<|date|>",date)
print(letter)
0
That's it.., replace input with raw_input
0
nabeer zahed chowdhury python 2.7.15