Can someone tell me how I can fix my code?
It is saying variable y is not defined?
import m...
Computers and Technology, 06.02.2022 08:00 winterblanco
Can someone tell me how I can fix my code?
It is saying variable y is not defined?
import math
def main():
y = int( input("Enter year: "))
a = (y % 19)
b = (y // 100)
c = (y%100)
d = (b //4)
e = (b%4)
g = ((8 * b + 13)//25)
h = ((10 * a + b - d - g + 15)% 30)
j = (c // 4)
k = (c%4)
m = ((a + 11 * h)//319)
r = ((2 * a + 2 * j - k - h + m + 32)% 7)
n = ((h - m + r + 90) // 25)
p = ((h - m + r + n + 19)% 32)
print("Easter Sunday will be on day {} of the month {}," ,format(p, n))
main()
Answers: 2
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a websiteβs domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
Computers and Technology, 24.06.2019 16:50
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
Mathematics, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00
Arts, 31.08.2019 09:00
Chemistry, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00
Business, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00
Mathematics, 31.08.2019 09:00