subject

Write a function that takes number between 1 and 7 as a parameter and prints out the corresponding number as a string. For example, if the parameter is 1, your function should print out one. If the parameter is 2, your function should print out two, etc. If the parameter is not between 1 and 7, the function should print an appropriate error message. In your file, you should include a main() that allows the user to enter a number and calls your function to demonstrate that it works.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:40
Kali, a python programmer, is using the turtle module to write the word β€œhello.” which code should she use to indicate the location to begin writing the word? a # pick up the turtle and move it to its starting location. b penup(-100, 200) goto() pendown() c penup() goto(-100, 200) pendown() d # pick up the turtle and move it to (-100, 200)
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
Which location-sharing service offers items for users as a gaming component and also allows them to collectively link their check-ins to publish a trip? a. whrrl b. buzzd c. foursquare (this option is wrong i already tried) d. gowalla for plato
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
You know the right answer?
Write a function that takes number between 1 and 7 as a parameter and prints out the corresponding n...
Questions
question
Mathematics, 06.05.2020 20:58
question
Mathematics, 06.05.2020 20:58
question
Mathematics, 06.05.2020 20:58
question
Mathematics, 06.05.2020 20:58
question
Social Studies, 06.05.2020 20:58
Questions on the website: 13722367