Computer Science, asked by naitikdubey605, 2 months ago

(ii).What is a function? Explain any two functions.​

Answers

Answered by jai696
4

\huge\red{\mid{\fbox{\tt{ANSWER}}\mid}}

A function is a block of reusable code to perform a specific task.

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

2 widely used functions in python are:

  1. print()
  2. len()

The print() function prints the specified message to the screen, or other standard output device.

The message can be a string, or any other object, the object will be converted into a string before written to the screen.

The len() function returns the number of items in an object.

When the object is a string, the len() function returns the number of characters in the string.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by Afnan14
0

Answer:

tutti

Explanation:

zzzzzzzzzzzzzzzzzzzzzz

Similar questions