4. feladat

This commit is contained in:
Kónya Márton 2020-08-25 02:32:23 +02:00
parent 28acdc6773
commit 3d6572f0bd
1 changed files with 11 additions and 1 deletions

View File

@ -44,4 +44,14 @@ if __name__ == "__main__":
print(f"A legalacsonyabb hőmérseklet {maxCity} {maxTime} {maxTemp} fok") print(f"A legalacsonyabb hőmérseklet {maxCity} {maxTime} {maxTemp} fok")
# 4. Feladat:
szelCsend = []
for i in meresek:
if i.szel == "00000":
szelCsend.append(f"{i.telepules} {i.ido}")
if len(szelCsend) > 0:
for i in range(0, len(szelCsend), 1):
print(szelCsend[i])
else:
print("Nem volt szélcsend a mérések idején")