Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

aceday/rectangle_octo_happiness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rectangle-octo-happiness

Directions:

  1. Create Your Own Repository:
  • Log in to GitHub.
  • Create a new repository with an appropriate name related to the project.
  • Note the repository's URL.
  1. Clone Your Own Repository and Clone the Original Repo:
  • Open a terminal or command prompt.
  • Navigate to the directory where you want to store your project.
  • Clone your own repository
  • Change into the newly created directory:
  • Clone the original repository (rectangle-octo-happiness)
  1. Modify rectangle.py:
  • Locate the rectangle.py file within your cloned repository.
  • Make the modifications specified in the instructions (probably related to square brackets).
  • Save the changes.
  1. Create rectangle_v1.py:
  • Create a new file named rectangle_v1.py within the same directory as rectangle.py.
  • Open rectangle_v1.py in a text editor.
  • Implement type hints for the function(s) within this file to improve readability. Use the functions I provided rectangle.py.
  1. Push Changes to Your Repository:
  • Navigate to your own repository's directory in the terminal.
  • Stage the changes
  • Commit the changes with a meaningful message
  • Push the changes to your repository

P.S. Run the Code in VSCode:

  • Using the Terminal: Open the integrated terminal by going to View > Terminal from the top menu. Then navigate to the folder where your Python file is located using the cd command. Finally, run your Python script by typing python filename.py, replacing filename with your actual file's name.
  • Using the Run Button: At the top of the file, you might see a green triangle (play) icon. Click it to run the script. If you don't see the icon, click the Run and Debug icon on the left sidebar (looks like a bug) and then click the green play button in the top toolbar.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages