0

not take input please help

#python 2.7.15 name=input('enter yor name:') print("all is well"+name)

3rd Aug 2022, 7:44 AM
Sachin Patel
Sachin Patel - avatar
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)
3rd Aug 2022, 10:36 AM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
+ 2
There's python 3.9 which is much much better and less work
5th Aug 2022, 1:27 AM
nabeer zahed chowdhury
nabeer zahed chowdhury - avatar
+ 2
https://wiki.python.org/moin/Python2orPython3
5th Aug 2022, 1:28 AM
nabeer zahed chowdhury
nabeer zahed chowdhury - avatar
+ 2
name=input('enter your name:') print(f'all is well {name}')
5th Aug 2022, 3:40 AM
Reza Zeraat Kar
Reza Zeraat Kar - avatar
+ 1
Why would you use python 2.7
4th Aug 2022, 7:14 PM
nabeer zahed chowdhury
nabeer zahed chowdhury - avatar
0
Use raw_input instead of input for python 2.7 name=raw_input('enter your name:') print('all is well '+name)
3rd Aug 2022, 7:59 AM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
0
thank u
3rd Aug 2022, 8:23 AM
Sachin Patel
Sachin Patel - avatar
0
Chigozie Anyaeji 🇳🇬 how to take string in python
3rd Aug 2022, 8:30 AM
Sachin Patel
Sachin Patel - avatar
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)
3rd Aug 2022, 8:32 AM
Sachin Patel
Sachin Patel - avatar
0
That's it.., replace input with raw_input
3rd Aug 2022, 10:38 AM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
4th Aug 2022, 7:30 PM
Sachin Patel
Sachin Patel - avatar