0
What is the meaning of (int)
2 Answers
+ 3
# I suggest you try these in code playground and then you should understand :
print( input() + input())
# input
# 5
# 5
# to test
# and then replace input() with int(input())
# and also test with 5 5
# and compare the results.
+ 5
That is called type casting., specifically explicit casting. It is used to convert a data type to another data type.
Check out the code below:
https://code.sololearn.com/ci4X0V5KR757/?ref=app