0
Why can't i enter 2 inputs?
Here is the code: #Imports math import math #Sine and cosine calculator function = input() number = int(input()) if function == "sine": math.sin(number) elif function == "cosine": math.cos(number) else: raise TypeError("Function needs to be sine or cosine")
2 ответов
+ 5
You have to enter all inputs in the input prompt of the code playground. So if your phone is like mine after the first input press the return key for a new line and the enter the second. Then press run or ok or whatever that prompt says
0
Reply from Bob
Thanks!