Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivanisingh1809 authored Sep 6, 2022
1 parent 230276e commit 34613f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Ticket_Fine.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
t=int(input())
for i in range(t):
x,y,z = map(int, input().split())
sum=0
sum= (y-z)*x
print(sum)

0 comments on commit 34613f1

Please sign in to comment.