0
Hey guys...Can anyone help me answer the exra terrestial easy question.
My code is correct but i cant figure out how to let solo learn input the arguments for my code to run. When i learnt python 3, we used to call the function name on the terminal for t to run.can i still use the same technique or i have to apply different strategies..
1 Réponse
+ 2
input() -> to take the input.
print() -> for output.
Example:
Task -> output the 2nd power of a given input.
Code↓
i = int(input()) #generated 4each test case
pow = i ** 2
print(pow)