mirror of
https://github.com/actions/python-versions.git
synced 2025-04-07 15:59:40 +00:00
mplement script to build and prepare packages for Python
This commit is contained in:
11
tests/sources/simple-test.py
Normal file
11
tests/sources/simple-test.py
Normal file
@ -0,0 +1,11 @@
|
||||
import sys
|
||||
print(sys.version)
|
||||
print(sys.prefix)
|
||||
|
||||
# Python program to find the factorial of a number
|
||||
num = 65
|
||||
factorial = 1
|
||||
print("Find the factorial of ", num)
|
||||
for i in range(1, num + 1):
|
||||
factorial = factorial*i
|
||||
print("The factorial of ", num, " is ", factorial)
|
Reference in New Issue
Block a user