Computer Science, asked by ayushnegi11224, 5 hours ago

What is the result of f“{2+2}+ {10%3}” in python ?​

Answers

Answered by Anonymous
4

Answer:

Result will be 5

Explanation:

The problem is inside f strings.

{2+2} + {10%3}

{4} + {1}

{5} = 5

% is a modulus operator in python which finds the remainder when a number is divided by another.

10%3 means the remainder when 10 is divided by 3.

Similar questions