mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-19 19:03:02 +08:00
all valid python 3
This commit is contained in:
@ -15,7 +15,7 @@ def split_and_add(number):
|
||||
return sum_of_digits
|
||||
|
||||
# Taking the user input.
|
||||
number = int(raw_input("Enter the Number: "))
|
||||
number = int(input("Enter the Number: "))
|
||||
|
||||
# Assigning the factorial from the factorial function.
|
||||
factorial = factorial(number)
|
||||
|
Reference in New Issue
Block a user