# Greetings
k_GREETINGS = "Hello Math RatTrigger"
print(k_GREETINGS)
k_GREETINGS = "I am BDB. I aim at pgming Proc() in Rational Numbers mostly !"
print(k_GREETINGS)

# Ressources to get ideas from

# Let's find the square root of a Natural Number ( < a few ten millions)

# Deklare Konstants
k_POWEROf2 = "²"
k_SIGN1 = " = "
k_SIGN2 = " < "


Nat_Root= 2436

Nat_Kount = 1 
Nat_N2 = 1
while Nat_N2 < Nat_Root:
    Nat_Kount += 1
    Nat_N2 = Nat_Kount * Nat_Kount
    

if Nat_N2 == Nat_Root:
    k_SIGN = k_SIGN1
    print( str(Nat_Kount) + k_POWEROf2 + k_SIGN + str(Nat_Root))
else:
    k_SIGN = k_SIGN2 + str(Nat_Root) + k_SIGN1 + str((Nat_Kount+1)*(Nat_Kount+1))
    print( str(Nat_Kount) + k_POWEROf2 + k_SIGN +  + k_SIGN2 + str(Nat_Kount+1)+k_POWEROf2)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: