Skip to content

Introduction-To-Python-Training-Master/Leap-Year

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python code Leap Year

Assignment: **Leap Year** for the Python Training Online Course

Purpose

The purpose of the code repo is to serve as the boilerplate code for the python training online course. It shall form the basic code for all the assignments that shall be used in the class.

Content

The file contains

  1. a README

As the name implies, the README.md file is a documentation file. It explains what the python project is all about and how to begin writing code for the assignments.

  1. main.py

The main.py file is the entry point to the project. This is where all your code implementation should take place.

  1. requirements.txt

The requirements.txt file allows users to know the required packages/libraries that needs to be installed.

 

The requirements.txt file contains one line per package. Each line contains the package name, and optionally, the requested version.

 

For more info, see here

  1. test_main.py

test_main.py file contains code to run all test cases for the assignment. You should not edit this file.

  1. .gitignore file

.gitignore file contains files and directories that is not to be pushed to the remote repository.

Todo

You are requided to do the following

  1. In main.py, write your code in bewteen the lines 22 and 27.
  2. When you are done, you can submit your code for automatic grading. For help click here

Help

Helper commands used in git in the command line

When you are ready to push your code to the remote repository, commit the changes to your code following this guide:

 

  • check the status of your local branch with remote in your command promp, run git status

  • add the files, run git add .

  • commit your changes using git commit -m "your commit message"

  • push your changes to the remote repo using git push origin master

  • if you get to this stage, congratulations, you are done.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages