write a program in which a person enter their name in the following format: Mary May Rest. The program should then output the person's name and the initial of their middle name
(Mar-22-2021, 01:31 AM)hannah71605 Wrote: [ -> ]I wrote it and then due to an internet error it didn't save.
Then write it again it's as short as 2 lines of code and definitely shorter than your current post.
We are glad to help, but we are not going to do your homework for you.
(Mar-22-2021, 01:35 AM)menator01 Wrote: [ -> ]and a loop
not sure what the loop would be needed for :-)
(Mar-22-2021, 01:31 AM)hannah71605 Wrote: [ -> ]write a program in which a person enter their name in the following format: Mary May Rest. The program should then output the person's name and the initial of their middle name
Can someone please write this code? I wrote it and then due to an internet error it didn't save. I would really appreciate it
If you wrote it once, you can write it again. Seriously. You can write out your algorithm in simple sentences, because you have already worked it out, and then translate those simple sentences to Python. The exercise will be good for you.
(Mar-22-2021, 05:32 AM)buran Wrote: [ -> ] (Mar-22-2021, 01:31 AM)hannah71605 Wrote: [ -> ]I wrote it and then due to an internet error it didn't save.
Then write it again it's as short as 2 lines of code and definitely shorter than your current post.
We are glad to help, but we are not going to do your homework for you.
(Mar-22-2021, 01:35 AM)menator01 Wrote: [ -> ]and a loop
not sure what the loop would be needed for :-)
I mis-read. No loop just for first letter of one word.