Quantcast
Channel: Active questions tagged ocaml - Stack Overflow
Viewing all articles
Browse latest Browse all 531

Get the equivalence of input("What is your name")

$
0
0

In python, I can ask a question to a user in using

response = input("What is your name?") print(response)

How can I do such thing using Ocaml? I think I can use read_line, but I am not sure how to do it equivalently.


Viewing all articles
Browse latest Browse all 531

Trending Articles