WHILE LOOPS IN PYTHON – Aptana Studio 3 Turkish Video Tutorial

in #utopian-io7 years ago (edited)



Tutorial : WHILE LOOPS IN PYTHON – Aptana Studio 3 Turkish Video Tutorial

Video : Turkish Language
Githup link: Aptana Studio 3

Aptana Studio 3 is our code base and complete environment that includes extensive capabilities to build Ruby and Rails, PHP, and Python applications, along with complete HTML, CSS and JavaScript editing. More information for Aptana Studio 3

What We Can Learn?
We entered the python loop and processed the While loop in this video tutorial.

We Learn About
We learned to do While Loops and learned the use of conditional commands in the While Loop. We did calculator with WhileLoop and used different codes.

Requirements
1-Aptana Studio 3
2- Basic Python code knowledge

Difficulty
Basic Level – Intermediate Level

Description
We continue to learn Python in this video. In the video, I talked about While loops. In Python it is a while loop. As we said in the previous section, we can ensure that our programs run continuously through the loop. In this section we will try to understand what the while loop is in Python and what it does.

Video Tutorial - Turkish Language 720p


Curriculum
If you want to learn more about Python in Aptana Studio 3, I've made some video tutorials about Python before, you can see them below !!

https://steemit.com/utopian-io/@tarikhakan55/data-types-and-data-conversion-operations-in-python-aptana-studio-3-turkish-tutorial

https://steemit.com/utopian-io/@tarikhakan55/eval-command-and-usage-in-python-aptana-studio-3-turkish-tutorial

https://steemit.com/utopian-io/@tarikhakan55/if-conditional-command-and-usage-in-python-aptana-studio-3-turkish-tutorial

https://steemit.com/utopian-io/@tarikhakan55/import-math-functions-and-usage-in-python-aptana-studio-3-turkish-tutorial

And More Details From This Video

islem = """
1 Topla
2 Çıkar
3 Çarp
4 Böl
"""
print(islem)

sayac = 1

while sayac == 1:
    soru = input("Yukarıdan Yapmak İstediğiniz İşlemi Seçiniz (Çıkmak için q): ")

    if soru == "q":
        print("Çıkış Yapılıyor...")
        sayac = 0

    elif soru == "1":
        rakam1 = int(input("Toplama işlemi için ilk sayıyı girin: "))
        rakam2 = int(input("Toplama işlemi için ikinci sayıyı girin: "))
        print(rakam1, "+", rakam2, "=", rakam1 + rakam2)

    elif soru == "2":
        rakam1 = int(input("Çıkarma işlemi için ilk sayıyı girin: "))
        rakam2 = int(input("Çıkarma işlemi için ikinci sayıyı girin: "))
        print(rakam1, "-", rakam2, "=", rakam1 - rakam2)

    elif soru == "3":
        rakam1 = int(input("Çarpma işlemi için ilk sayıyı girin: "))
        rakam2 = int(input("Çarpma işlemi için ikinci sayıyı girin: "))
        print(rakam1, "x", rakam2, "=", rakam1 * rakam2)

    elif soru == "4":
        rakam1 = int(input("Bölme işlemi için ilk sayıyı girin: "))
        rakam2 = int(input("Bölme işlemi için ikinci sayıyı girin: "))
        print(rakam1, "/", rakam2, "=", rakam1 / rakam2)

    else:
        print("Yanlış giriş.")
        print("Aşağıdaki seçeneklerden birini giriniz:", islem)



Author : @tarikhakan55
Steemit Türkiye & Utopian-io
Community



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you for return...

Bak tüm gelir sana kalsın diye 20 dk dolmadan vote luyorum :)
Artık bu iyiliğimi unutmazsın :)))

Söz unutulur kardeşlik unutulmaz :))

Upvote my post please...

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.029
BTC 76606.02
ETH 3048.30
USDT 1.00
SBD 2.62