Python 3.4 - Console I/O
Your program most likely will have a input console, on the computer and/or keyboard and an output, etc. The user will use this interface to interact with your program.
Getting some inputs can be useful.
https://robots.thoughtbot.com/input-output-redirection-in-the-shell
https://www.tldp.org/LDP/abs/html/io-redirection.html
Raw_input allows the user to put in any type of data and convert it to a string.
https://www.youtube.com/watch?v=qsTdaxahTsM
print("Welcome") name = input("What is your name? ") print("Hello " + name + " Thank you for being here.") num1 = int(input("What is the number?")) num2 = int(input("what is the second number?")) print("Those two numbers multiplied together are" , num1 * num2)
Getting some inputs can be useful.
https://robots.thoughtbot.com/input-output-redirection-in-the-shell
https://www.tldp.org/LDP/abs/html/io-redirection.html
Raw_input allows the user to put in any type of data and convert it to a string.
https://www.youtube.com/watch?v=qsTdaxahTsM
Comments