Computer Science, asked by pranav7266, 5 months ago

print( “a.b.c.d, sep ='!') what will come as output in idle python​

Answers

Answered by kunal3941
0

Error will occur

Explanation:

you did not end the qoutes

if you ended the quotes the result will be:

a!b!c!d!

Answered by bubbletea100
0

In principle, every computer program has to communicate with the environment or the "outside world". For this purpose nearly every programming language has special I/O functionalities, i.e. input/output. This ensures the interaction or communication with the other components e.g. a database or a user. Input often comes - as we have already seen - from the keyboard and the corresponding Python command, or better, the corresponding Python function for reading from the standard input is input().

We have also seen in previous examples of our tutorial that we can write into the standard output by using print. In this chapter of our tutorial we want to have a detailed look at the print function. As some might have skipped over it, we want to emphasize that we wrote "print function" and not "print statement". You can easily find out how crucial this difference is, if you take an arbitrary Python program written in version 2.x and if you try to let it run with a Python3 interpreter. In most cases you will receive error messages. One of the most frequently occurring errors will be related to print, because most programs contain prints. We can generate the most typical error in the interactive Python shell:

print 42

File "", line 1

  print 42

File "<ipython-input-1-5d54469f7ddf>", line 1

  print 42

Plss mark as the brainliest!!!!

Similar questions