Computer Science, asked by Akgs4367, 5 months ago

which of the following is input function​

Answers

Answered by lalleimachungakham20
1

Answer:

See the example below.

# Python input() function example.

# Calling function.

val = input("Enter an integer: ")

# Displaying result.

val = int(val) # casting into string.

sqr = (val*val) # getting square.

print("Square of the value:",sqr)

Similar questions