OP 12 March, 2020 - 06:35 PM
(This post was last modified: 12 March, 2020 - 06:42 PM by luluturikk.)
I'm back baby!
A few months ago I tried to learning python, but it didn't go too well and i tried to change to another language, but this didn't go well too XD.After weeks of doing nothing I decided to give another try to python, and now to try not drop this again I will post my learning path in this site to track my progress and hopfully help some people who doesn't know what to do or where they need to go to learn about python.
In these tracking progress thing I'll put the links of the videos or other sites that i use to learning something about python and some of the codes that I created with that knwoledge.Saying that in this thread I'll put where I am learning the basics of python and what i did with that by now.
- I'm learning the basics in this chanel series, I think it is a nice place to learn the basics of python and much more :
- If I have something that I can't remember during my coding(what isn't too dificult to occur) I check this website
---------------------------------------------------------------------------------------------------------------------------
# Basic Calculatorprint("\n-This is a basic calculator, it is possible to add, subtract, divide and multiply.")
number1 = int(input("First number: "))
number2 = int(input("Second number: "))
# Variables
add = number1 + number2
subtract = number1 - number2
divide = number1 / number2
multiply = number1 * number2
print("\n1-Add.\n2-Subtract.\n3-Divide.\n4-Multiply.")
choice = int(input("\nEnter the action number you need:"))
if choice == 1:
print(f"\nThe result of {number1} + {number2} is: ", add)
elif choice == 2:
print(f"\nThe result of {number1} - {number2} is: ", subtract)
elif choice == 3:
print(f"\nThe result of {number1} / {number2} is: ", divide)
elif choice == 4:
print(f"\nThe result of {number1} x {number2} is: ", multiply)
else:
print("This isn't a valid choice!")
-------------------------------------------------------------------------------------------------------------------------------
This is the actual code runing : https://imgur.com/a/VZVV4rB
I think this what i have to today soo see you next time XD.