MENU
Question -

Write a program to read the user name using raw_input() and display back on the screen using print()



Answer -

#!/usr/bin/python
name=raw_input(‘Enter your name :’)
print (“Hi %s, Let us be friends!” % name);

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×