diff --git a/Programs/P01_hello.py b/Programs/P01_hello.py index 5754bc3..f3ab0e9 100644 --- a/Programs/P01_hello.py +++ b/Programs/P01_hello.py @@ -1,9 +1,15 @@ # Author: OMKAR PATHAK # This program prints the entered message - +''' def justPrint(text): '''This function prints the text passed as argument to this function''' print(text) if __name__ == '__main__': justPrint('Hello') +''' + + +#method to print the entered message.(without using function) +text = input("Enter the message that you want to display: ") +print(text)