Created
April 18, 2022 17:43
-
-
Save muthu1809/b93969e33c6e17104a9daa93bec52a4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
நெல்மணி = 1 #முதல் கட்ட நெல்மணி | |
கட்டம் = 1 #முதல் கட்டத்தில் இருந்து நெல்மணிகள் கூடத் தொடங்குகின்றன. | |
while கட்டம்<=64: | |
print(கட்டம், " ஆவது கட்டத்திற்கான நெல்மணி ", நெல்மணி) | |
நெல்மணி = 2**கட்டம் # ** என்பது பைத்தானில் அடுக்கைக் குறிக்கும் | |
கட்டம்+=1 | |
else: | |
print("கடைசியில் ", நெல்மணி) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment