Startup and Tech
Tuesday 16 June 2020
Eight ways to print Hello World in Python
Program
from numpy import * print("Hello Python") print("%s"%"Hello Python") print("{:s}".format("Hello Python")) print(where(not True,"","Hello Python")) print(" ".join(["Hello","Python"])) for i in range(1):print("Hello Python") if(2 & 3 == 2):print("Hello Python") print(1 * "Hello Python")
Output
Hello Python Hello Python Hello Python Hello Python Hello Python Hello Python Hello Python Hello Python Process finished with exit code 0
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment