Jadoo hates Number code in python using ord() function:
Problem statement :
Jadoo hates numbers, but he requires to print a special number "420" to recharge the equation of life. He
asks your help to print the number but Since he hates numbers, he asks you to write the program such
that there would not be any number in the code.
Code:
print( ord('z')+ ord('h')+ ord('a')+ ord('a'))
Explanation:
ord() function return Unicode of a symbol
ord('a')=97, ord('h')=104 and ord('z')=122
Scream sort of output and code
Comments
Post a Comment