📌  相关文章
📜  在 python 代码示例中添加第一个值和第二个值

📅  最后修改于: 2022-03-11 14:45:59             🧑  作者: Mango

代码示例1
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)