Decode School

Decode School - The School for Problem Solvers

Welcome to my blog. Subscribe and get my latest blog post in your inbox.

Python get input

Python Program to get input from the user.

Sample Input 1:

hi boss

Sample Output 1 :

hi boss

Program or Solution

message=input("enter a message:")


Program Explanation

input() is the predefined function which reads input from user and convert it as String.