Answer:
just find it
Explanation:
ambot lng kay wa mn gd nako to gi gunitan nya wa pd ko nimo gipa bantay nya biskan pag pabantayon ko nimo ilabay jd nakog saba
I've included my code in the picture below. Best of luck.
The built-in function you use in python to prompt a user for data input is the input function.
<h3>What is an input function?</h3>
An input function is a function used to prompt a user for data input.
The data input may be a string, integer, float, and many more.
Let's use an example of an input function in python.
x = input("what is your name: ")
y = int(input("How old are you: "))
Hence, the first input will prompt the user for the name and the second input will ask the user for his age. It can only accept integers.
learn more on input function here: brainly.com/question/17623507
#SPJ12
Answer:
size = int(input("How many names will be there? "))
names = []
for _ in range(0, size):
name = input("Enter a name: ")
names.append(name)
names.sort()
print(names[0] + " " + names[-1])
Explanation:
* The code is in Python
- Ask the user for the number of the name
- Initialize an empty list that will hold the name entered
- Inside the for loop, get the names and put them in the names array
- When all the names are entered, sort them and print the first and last of the name