December 2022 1 16 Report
#Narysuj schemat blokowy o potęgach w Pythonie "Czy dana liczba jest potęgą trójki?"
#Pomocny program
def CzyPotegaTrojki(liczba):
while liczba != 1:
if liczba % 3 != 0:
return False
liczba = liczba / 3
return True

Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.