Computer Science, asked by shwetakumari798897, 1 month ago

the different anthmetic operators
V. Write the output of the following python commands.
(a) print my name is pradeep"
(b) print("7497
(c) print (79)
(d) print (18/75)
tel Type l'apple​

Answers

Answered by anindyaadhikari13
2

Required Answer:-

Corrected C∅de:

  1. print("My name is Pradeep")
  2. print("7497")
  3. print(79)
  4. print(18/75)

To Find:

  • Output (Language: Python)

Output:

  1. My name is Pradeep
  2. 7497
  3. 79
  4. 0.24

Explanation:

  • The print() statement is used to display any message on the screen. For the first and second question, it displays the message on the screen written inside double quotes.
  • In the third question, it displays the number i.e., 79 written inside it.
  • In the last question, evaluation takes place at first and then the output is shown. 18/75 = 6/25 = 0.24, So the output is 0.24

Refer to the attachment.

•••♪

Attachments:
Similar questions
English, 1 month ago