Requesting Input method / Request a input and print as a Output

Suppose the program print "Hello" and Print "What is your name " then takes input from user and again print a line with Output

Program:

print ('Hello')
x = input ("What is your name ?")
print ("Hello nice to meet you" + x)

Output:

Hello
What is your name? Rohit
Hello nice to meet you Rohit

Rohit as a input
Let's see the Computer Screen

Input:

Output:

0 comments :

Post a Comment

Cancel Reply

computer books list list of computer science books with authors best computer books for beginners fundamental of computer books pdf free download computer books for dummies best computer hardware books introduction to computer best computer books of all time

Powered by Blogger.

Followers

Search This Blog

Translate