Computer Science, asked by valasala962, 2 days ago

Write a program that uses specialSum to print the values for:

Answers

Answered by kipa41
0

Answer:

Getting User Input in Python

input ( prompt )

raw_input ( prompt )

The input() or raw_input() function allows user input. These functions have an optional parameter, commonly known as prompt, which is a string that will be printed on the screen whenever the function is called.

In Python 3, raw_input() function has been deprecated and replaced by the input() function.

The user-entered value is always converted to a string and then assigned to the variable.

Similar questions