Answer:
Step-by-step explanation:
For input,
val = input("Enter your value: ")
print(val)
Haven't done python in while so I can't help with second one.
5.4m questions
7.0m answers