Input a welcome message and display it.
- Details
- Category: 11th Class computer practicals
- Published: Friday, 11 June 2021 05:39
- Written by Super User
- Hits: 1425
name=input('please write your name')
print('you wrote ',name)
Explanation: - in this program, input method takes input as string and assigns that to name variable. After that print function prints quoted text and value in the name variable. You can also try to take integer and float inputs and print those values.