What will be the output of the following code #sample program in python program
#print(“Python is Piquant language ”) print( “ Work smartly not hardly ”) print ( ‘ Welcome in Python world ” )
Answers
Answered by
3
Answer: With your sample code it will show an error as in ( ‘ Welcome in Python world ” ) you are using single quote and double quote. If you change it slightly it will give this:
#print(“Python is Piquant language ”)
print( “ Work smartly not hardly ”)
print ( " Welcome in Python world ” )
output:
Work smartly not hardly
Welcome in Python world
Similar questions
Science,
2 months ago
Science,
2 months ago
Social Sciences,
5 months ago
Math,
10 months ago
Science,
10 months ago