#This program will do a simple Hello world #Steve C 9/26/2017 def main(): name = input("Enter your name ") print ("Hello," , name) main()
#Does a simple calculation #Steve 9/16/2017 def main(): #number=eval(input("Enter a number from 1 to 41: ")) for number in range(1,40): prime=number * number - number + 41 print(prime) main()
No comments:
Post a Comment