Jan-10-2018, 11:37 PM
Hello Gurus,
I need some help with creating a program for a parrot. Here is the information below.
1. Create a program that is a parrot. The program should begin by printing "Polly wants a cracker" on the screen. Then wait for the user to enter something (text). The program should then repeat whatever was entered back on the screen, followed by "Now give me a cracker.". Here is an example:
Polly wants a cracker.
>> Polly is nice.
Polly is nice. Now give me a cracker.
This is my program but I need some help with this code. I'm not sure how to complete this code. I'm not sure how to let the user enter text and what exactly are they entering. Lastly, I am not sure how to create the last two sentence.
parrot = "polly wants a cracker"
print(parrot)
polly= "polly is nice"
print(polly)
Thanks in advance for your help in this matter.
aka2d7
I need some help with creating a program for a parrot. Here is the information below.
1. Create a program that is a parrot. The program should begin by printing "Polly wants a cracker" on the screen. Then wait for the user to enter something (text). The program should then repeat whatever was entered back on the screen, followed by "Now give me a cracker.". Here is an example:
Polly wants a cracker.
>> Polly is nice.
Polly is nice. Now give me a cracker.
This is my program but I need some help with this code. I'm not sure how to complete this code. I'm not sure how to let the user enter text and what exactly are they entering. Lastly, I am not sure how to create the last two sentence.
parrot = "polly wants a cracker"
print(parrot)
polly= "polly is nice"
print(polly)
Thanks in advance for your help in this matter.
aka2d7