Computer Science, asked by bigbro26, 5 months ago

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 indiaananddhruv
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