Skip to content

Instantly share code, notes, and snippets.

@fuwiak
Last active May 25, 2020 20:41
Show Gist options
  • Save fuwiak/0c3dcb4977b28f3b49877f6b22cb389c to your computer and use it in GitHub Desktop.
Save fuwiak/0c3dcb4977b28f3b49877f6b22cb389c to your computer and use it in GitHub Desktop.
punkty = int(input("Podaj poczatkowa liczbe punktow "))
f = int(input("Podaj liczbe procent frekwencji "))
so = float(input("Podaj srednia ocen "))
if so>=4.0 and f>94:
punkty+=20
print("Liczba punktow wynosi %d" % punkty)
else:
print("Liczba punktow wynosi %d" % punkty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment