Skip to content

Instantly share code, notes, and snippets.

@MajliTech
Created May 9, 2025 08:24
Show Gist options
  • Save MajliTech/e4c36ad2edecc3ccff289cf786a9ccef to your computer and use it in GitHub Desktop.
Save MajliTech/e4c36ad2edecc3ccff289cf786a9ccef to your computer and use it in GitHub Desktop.
a=int(input("Podaj podstawę trójkąta: "))
h=int(input("Podaj wysokość trójkąta: "))
pole=(a*h)/2
print("Pole trójkąta wynosi:",pole)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment