Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Create a Python file named animal.py. Type the following code into the file, but with your name and the current date:

Author: Tim Alcon

Date: 1/1/1970

Description: Asks the user for their favorite animal and then

prints out that that is their favorite animal

fave_animal = input("Please enter your favorite animal: ") print("Your favorite animal is the " + fave_animal + ".")

Now save the file ("File/Save All") and run it. The program should ask you to enter the name of your favorite animal, and after you do, it will print out "Your favorite animal is the ."

Once you've verified that your program runs correctly, commit and push your project. Then go to Gradescope and submit your animal.py file from your GitHub repository.

===================================================

  1. create script

  2. record user input

  3. return user input with a messege

  4. save the file as animal.py

  5. run the code (does it work? if not fix)

  6. commit and push

  7. upload to Gradescope

  8. Drink Beer

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages