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
2
Required Answer:-
Corrected C∅de:
- print("My name is Pradeep")
- print("7497")
- print(79)
- print(18/75)
To Find:
- Output (Language: Python)
Output:
- My name is Pradeep
- 7497
- 79
- 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