Last active
September 27, 2019 13:52
-
-
Save arunsanna/d6b649f2c1e15a866a23eaca519333aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My Att Bill Split | |
internet_bill = int(input("Enter Internet DataPlan charges: ")) | |
user_list = ["arun", "bhargav", "vikas", "venky1", "venky2", "ravi" ] | |
for user in user_list: | |
user_charge = int(input("Enter charge for " + user +": ")) | |
print user +" Bill: " + str(user_charge + int(internet_bill / len(user_list))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment