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.
1.6m questions
2.0m answers