help getting average from reading lines

2021.09.20 21:18 pitobayola help getting average from reading lines

the code is
def main():

myfile = open('grades.txt','r')
print('Here are your grades.')
count = len(open('grades.txt').readlines( ))/2
average = str(count/2)
while count != 0:
course = (myfile.readline())
percent = str(myfile.readline())
count -= 1
print('Your grade in',course,'is',percent)
print('Your average is')

main()
my problem is im trying to get the numbers from percent and add them all up so i can get the average but instead it keeps putting them all separately with whole lines in-between them when i try
submitted by pitobayola to learnpython [link] [comments]


2021.09.20 21:18 Sargonas01 Elite Booster Shots - Equal participation. Name: delta-v-booster

Elite Booster Shots - Equal participation. Name: delta-v-booster submitted by Sargonas01 to EggsIncCoOp [link] [comments]


2021.09.20 21:18 kablevideo Aoki CRUSHING people w/ cakes at EZoo

submitted by kablevideo to EDM [link] [comments]


2021.09.20 21:18 ShortAlgo $SDC Waiting for Short signal on SDC with https://t.co/yV6BCXgb7w https://t.co/UisGppTmdw

$SDC Waiting for Short signal on SDC with https://t.co/yV6BCXgb7w https://t.co/UisGppTmdw submitted by ShortAlgo to UltraAlgo [link] [comments]


2021.09.20 21:18 Trenttrip Ideal blunt rotation? (Spoilers extended)

It’s GRRMs birthday so let’s have some fun. Which characters would you smoke a blunt with.
I’m thinking Tyrion, the Baratheon brothers (except for Stannis obviously) Margaery can definitely hang. Asha also seems cool. I want to invite Oberhn but I feel like he’d lace the weed.
submitted by Trenttrip to asoiaf [link] [comments]


2021.09.20 21:18 Sudzy1225 Uhh….no thanks…

Uhh….no thanks… submitted by Sudzy1225 to dontputyourdickinthat [link] [comments]


2021.09.20 21:18 Delvario Anyone get kicked due to max capacity?

Match point trials, and I got kicked due to max capacity. Did this happen to anyone else or is this a regular thing that happens from time to time?
submitted by Delvario to DestinyTheGame [link] [comments]


2021.09.20 21:18 ShortAlgo $TRVN Waiting for Short signal on TRVN with https://t.co/yV6BCXgb7w https://t.co/VwILnEW5lB

$TRVN Waiting for Short signal on TRVN with https://t.co/yV6BCXgb7w https://t.co/VwILnEW5lB submitted by ShortAlgo to UltraAlgo [link] [comments]


2021.09.20 21:18 hwa4 [22/F] Antisocialite looking for (local - SoCal) friends to smoke with, eat with, and chill with

hi! I’m 22, female, Asian, and looking for local friends (preferably female/NB/LGBT+, also would love to meet more Asian friends). I would love to smoke weed together, eat good food, and overall just have a chill hangout. I am local to north Orange County, California and am down to meet up with anyone in LA/OC area. Age 20+ please!
FYI I am NOT looking for anything sexual, so if that’s your end goal don’t message me. as you can imagine I will be cautious of straight males. wholesome friends only!!
About me:
I’m here because I pretty much have no friends and haven’t made a new friend in like over 4 years. I spend 99% of my time alone and it’s getting kind of sad lmao. I’m introverted, kinda shy, and a lot awkward. I very much dislike parties, bars, or other crowded social places. I’m maybe a bit too chill and would love to bond over similar hobbies, learn about your hobbies, have meaningful conversations, and otherwise just have a nice time!
Some of my current faves:

If you think we can get along feel free to message me!! serious ppl only please!
We can chat on Reddit or Discord (I’m a Discord noob though)
submitted by hwa4 to MeetNewPeopleHere [link] [comments]


2021.09.20 21:18 Chi_na02 Changing in to my scrubs at work

Changing in to my scrubs at work submitted by Chi_na02 to palmdale [link] [comments]


2021.09.20 21:18 Toughkey88 How to do Market Research?

Currently designing a board game and I know market research is important to make sure to tailor your game to the audience that is available, with low competition ideally, but how do you do this market research?
How do you figure out if there is a game out there that is similar to yours?
How do you decide which story setting is the best design choice for your game?
How do you decide if your game has a high chance of success?
Surveys could be a way to get opinions, but the response rate on those is pretty low
submitted by Toughkey88 to tabletopgamedesign [link] [comments]


2021.09.20 21:18 youngfastloud So Shiny -- Bookshelf Building and Organizing

So Shiny -- Bookshelf Building and Organizing submitted by youngfastloud to booktube [link] [comments]


2021.09.20 21:18 JasErnest218 On Cold and Rainy Days our Farm Cats snuggle Inside

On Cold and Rainy Days our Farm Cats snuggle Inside submitted by JasErnest218 to aww [link] [comments]


2021.09.20 21:18 stkblggr "YOLO" by ADELE.. Dude Sings! "YOLO SHARES THIS ONE TIME"

submitted by stkblggr to BuyStocks [link] [comments]


2021.09.20 21:18 Ok_Dirt8018 [REQUEST] NAPOLI 2021-22 BLUE SHORTS, please.

[REQUEST] NAPOLI 2021-22 BLUE SHORTS, please. submitted by Ok_Dirt8018 to WEPES_Kits [link] [comments]


2021.09.20 21:18 dexterxdfg647 Obsessed, amazing art ❤️

submitted by dexterxdfg647 to bisexual [link] [comments]


2021.09.20 21:18 Namyahk Live music

Live music submitted by Namyahk to AbstractPhotos [link] [comments]


2021.09.20 21:18 SpiceyMemeMachine Legendary Hero Tier List

Legendary Hero Tier List submitted by SpiceyMemeMachine to valorlegends [link] [comments]


2021.09.20 21:18 ShortAlgo $MDXG Waiting for Buy signal on MDXG with https://t.co/yV6BCXgb7w https://t.co/1C41ITSOEN

$MDXG Waiting for Buy signal on MDXG with https://t.co/yV6BCXgb7w https://t.co/1C41ITSOEN submitted by ShortAlgo to UltraAlgo [link] [comments]


2021.09.20 21:18 yourbestbae [Michael Gallagher] Per the Preds, the team will be 100% vaccinated by the start of the regular season

submitted by yourbestbae to Predators [link] [comments]


2021.09.20 21:18 o_O-JBL 4D Chess: Trump Reveals He Let Biden Win So His Presidency Would Look Amazing By Comparison

4D Chess: Trump Reveals He Let Biden Win So His Presidency Would Look Amazing By Comparison submitted by o_O-JBL to Republican [link] [comments]


2021.09.20 21:18 Prevail124 Overcoming obstacles, getting rid of players and forming new friendships

I started playing DND with my best friends back in 2019, but due to scheduling conflicts, and friendships mishaps we barely got to play. I mean, we been playing dragon of Icepire peak all that time. But up to July of this year we've had like 4 sessions, of like 2 hours each.
I decided that it was best for the party to kick out one of the players because he wasn't committed, and I'm not saying as committed as us (if it was up to me we would play every day), he never had time, always made excuses, always left early, and I got sick and tired of him, but my party didn't wanted to kick him out, because we were the "Evil triforce". But mints passed and they all came around and decided to kick him out.
By this moment I've been telling one of my friends from uni all about our adventures, and he said that he wanted to play. And I told him that I would include him in the next campaign that I would personally dm.
But my party decided that we should try and finish the campaign we started with our kicked out friend, so I decided to introduce my other friend to the group through a board game night, and they got along like PB and J, we've been playing almost weekly for the past two months and we're so close to the ending.
so long story short: kicking a player it's not always the worst thing that can happen.
My DnD party
submitted by Prevail124 to DnD [link] [comments]


2021.09.20 21:18 BlackCeja Efectivamente

Efectivamente submitted by BlackCeja to iLuTV [link] [comments]


2021.09.20 21:18 Arteic First 5 infantry for my 158th Regiment done. Wait there’s how many more to go?!

First 5 infantry for my 158th Regiment done. Wait there’s how many more to go?! submitted by Arteic to TheAstraMilitarum [link] [comments]


2021.09.20 21:18 ShortAlgo $CVGW Waiting for Buy signal on CVGW with https://t.co/yV6BCXgb7w https://t.co/ukXFJkTGOa

$CVGW Waiting for Buy signal on CVGW with https://t.co/yV6BCXgb7w https://t.co/ukXFJkTGOa submitted by ShortAlgo to UltraAlgo [link] [comments]


http://arena4games.ru