Skip to content

Commit

Permalink
Update sample1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Anitha8073 authored Feb 20, 2024
1 parent c25cb1f commit c24da51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sample1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
num1 = 1.5
num2 = 6.3
sum = num1 + num2
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
num3 = 7.3
sum = num1 + num2 +num3
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

0 comments on commit c24da51

Please sign in to comment.