Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1130

Tracking my learning progress in Python

by luluturikk - 12 March, 2020 - 06:35 PM
This post is by a banned member (luluturikk) - Unhide
19
Posts
5
Threads
5 Years of service
#1
(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.
  1. 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 :                                                       
    Hidden Content
    You must register or login to view this content.

     
  2. If I have something that I can't remember during my coding(what isn't too dificult to occur) I check this website
    Hidden Content
    You must register or login to view this content.


 After saying all of that, I'll now show my first code that I have made(without look to anything) after learning the basics in python :

---------------------------------------------------------------------------------------------------------------------------
# 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.
This post is by a banned member (ninja333) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)