Create a small script to use rawinput built-in function to


Question: User input with raw_input().

(a) Create a small script to use raw_input() built-in function to take a string input from the user, then display to the user what he/she just typed in.

(b) Add another piece of similar code, but have the input be numeric. Convert the value to a number (using either int() or any of the other numeric conversion functions), and display the value back to the user. (Note that if your version of Python is older than 1.5, you will need to use the string.ato*() functions to perform the conversion.)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Create a small script to use rawinput built-in function to
Reference No:- TGS02577786

Expected delivery within 24 Hours