Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to learn python

"""
Great foundation for basics 
https://www.w3schools.com/python/default.asp"
"""
Comment

how to learn python

Oh I see u wanna learn Python its preety easy :D
Comment

how should i learn python

Watch Programming with mosh on youtube
Or if you just need help go to stack overflow or w4schools
Comment

how to learn python

# Basic python sum calculator

# If you know how to use function, you can use it, but for starters I will not use it

number_first = input("Please input fisrt number: ") # input() is used to take user input
number_second = input("Please input second number: ") # input() is used to take user input

# There is two way to add two numbers

print(sum((number_first, number_second))) # print() used to print stuff. # sum() takes tuple and sum the two or more numbers in it.
print(number_first + number_second) # print() used to print stuff. This method is easier and just make you do simple math.

=========================================================
# Output:
Please input fisrt number: 1
Please input second number: 7

>>> 8 # sum() printed
>>> 8 # second method printed
Comment

PREVIOUS NEXT
Code Example
Python :: functools.cached_property objects in python 
Python :: counter python time complexity 
Python :: How to check for string membership in python 
Python :: #index operator in python 
Python :: convert string to integer in python 
Python :: queue peek python 
Python :: pandas python example 
Python :: bitwise xor in python 
Python :: foreach loop in python 
Python :: keras model 2 outputs 
Python :: python typing module list 
Python :: connect with database python 
Python :: iterrows pandas 
Python :: for each in python 
Python :: python how to use rnage 
Python :: keras.callbacks.History 
Python :: add title to tkinter window python 
Python :: how to form .cleaned data in class based views in django 
Python :: while loop with if else 
Python :: python how to exit function 
Python :: nrf24l01 arduino to raspberry pi struct 
Python :: numpy array [-1] 
Python :: list count python 
Python :: delete from table django 
Python :: python reverse dictionary 
Python :: Print statement with multiple variables 
Python :: python order number list 
Python :: pandas fillna multiple columns 
Python :: time a function python 
Python :: how to print 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =