subject

Write a Python program that allows the user to input a word. The program then outputs each character in the word with the corresponding position starting at 1. For example, if the user enters "Hello", the program will output: 1 H 2 e 3l 4l 5O Your program should work as follows: Gets the user to enter a string and store it in a suitable variable • Output each character along with its position in the string. The positions output should start at 1 You should use meaningful variable name(s), correct syntax and indentation in your answer. The answer grid below contains vertical lines to help you indent your code accurately, [8 marks]

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
Some of the first computer games were created in the early 1970s by college students experimenting after hours to see what the were capable of doing.
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
You know the right answer?
Write a Python program that allows the user to input a word. The program then outputs each character...
Questions
question
History, 28.01.2020 18:46
Questions on the website: 13722367