0
How do we take inputs in a test case problems in python?
2 Respuestas
+ 1
If you are talking about code coach problems, then we are restrict from taking inputs.
in python:
num = int(input())
why Casting (with int())?
Because by default input taken from user in python is STRING type.
0
Just use input() as you normally would. The inputs will be put in automatically.