Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

adding the first place value and second value in python

two_digit_number = input("Enter a two digit number:- ")
first_Digit = int(two_digit_number[0])
second_digit_number = int(two_digit_number[1])
calculation = first_Digit + second_digit_number
print(calculation)
Comment

PREVIOUS NEXT
Code Example
Python :: i want to check my python code online 
Python :: check if a variable is empty python 
Python :: “no such column” after adding a field to the model 
Python :: python tf.maximum 
Python :: cannot cast type smallint to boolean django 
Python :: jumpssh execute multiple commands 
Python :: discard method in python 
Python :: python loop chrome 
Python :: decode base64 password python 
Python :: how to get key stroke pygame 
Python :: numpy add to same index multiple times 
Python :: how can i display the context data returned by the view in the template 
Python :: add function name and line number in python log file 
Python :: How to run python in command promt 
Python :: list data structure in python 
Python :: handling image files django aws 
Python :: reverse bolean python 
Python :: Python Tkinter PanedWindow Widget Syntax 
Python :: How to clear out a set in python 
Python :: numpy retrieve 5 highest value index 
Python :: how to extends page in django 
Python :: geopandas plot raster and vector 
Python :: Determining Web Address In Django 
Python :: aws ses service python example 
Python :: zufälliger wert aus liste python 
Python :: giving activation in dense layer keras 
Python :: Random parola uretme 
Python :: travis deployment script for django applications to heroku 
Python :: 56.5 to 57 in python 
Python :: sort files in windows order python 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =