Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week3_utkarsh_agarwal #105

Open
wants to merge 10 commits into
base: week3_assignment
Choose a base branch
from

Conversation

utkarsh-3112
Copy link

Screenshot 2023-01-12 125913

@utkarsh-3112
Copy link
Author

Screenshot 2023-01-16 170006
Activity Tracker

Comment on lines 46 to 47
total = (self.penalty_kicks_won * 100) / self.penalty_kicks_made
total
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will also work

Suggested change
total = (self.penalty_kicks_won * 100) / self.penalty_kicks_made
total
(self.penalty_kicks_won * 100) / self.penalty_kicks_made

penalty_kicks_won: 64,
fouls_committed: 237
)
player.save
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

player.save is required only when u use Prayer.new or change any value

Suggested change
player.save

name: "Marocs Acuna",
rank: 13,
country: "ARG",
postion: "defender",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
postion: "defender",
position: "defender",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants