answersLogoWhite

0


Best Answer

in python 3 basic input and output are achieved with

string = input("prompt>")

and

print("something")


In python 2 you have


string = raw_input("prompt>")

and

print "something"



User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How input and output is achived in python programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is printing out and inputting variable in C programming?

input and output


What is the meaning of print and input in idle python?

"print" will output a value onto the screen for a user to see. "input" or "raw_input" gets a user's input.


Which is the base class for all derived classes in input output programming?

ios_base


How do you check input and output in PLC?

You can check the input and output in PLC by using the force command. Through the programming instrument the input can be forced opened or forced closed depending on what the status of the contacts are set to. This can also be done with the output contacts.


How are input and output functions are accessed in C programming?

The most common way to invoke an input/output function is calling it by its name. Example with function puts:puts ("Hello world");


Computer programs perform what three steps?

1. Input is received. 2. Some process is performed on the input. 3. Output is produced. Source: Starting out with Python by: Tony Gaddis


What is boolean in programming?

Boolean is a 'true or false' logic in programming - if you define a function as a Boolean function, the only inputs it can have are true or false, and the output will vary dependant on the input


Is an OMR an input or output?

is an omr and input or output device?


Is interactive whiteboard an input or output device?

both input r output


Is a graphic tablet output or input?

Input device.


What is the input to output ratio formula?

output/input


Is Digitizing Pad is an input or an output?

output and input