Computer Science, asked by srilalithl203, 1 year ago

What does raw_input() function do in python?

Answers

Answered by saranyaammu3
0

Answer:

The function raw_input() presents a prompt to the user (the optional arg of raw_input([arg])), gets input from the user and returns the data input by the user in a string. For example,

name = raw_input("What is your name? ")

print "Hello, %s." % name

This differs from input() in that the latter tries to interpret the input given by the user; it is usually best to avoid input() and to stick with raw_input() and custom parsing/conversion code.

Explanation:

Answered by MERCTROOPER
0

Explanation:

Ohm's Law is a formula used to calculate the relationship between voltage, current and resistance in an electrical circuit. To students of electronics, Ohm's Law (E = IR) is as fundamentally important as Einstein's Relativity equation (E = mc²) is to physicists. E = I x R.

Similar questions