Skip to content

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