Hello Programmers, Welcome to my channel.
In this video you will learn about how to Write A Python Program To Find Sum Of All Odd Numbers Between 1 To N
Python Scripts
========================
https://codewithtj.blogspot.com/2024/...
Python Functions Solved
========================
https://codewithtj.blogspot.com/2023/...
Python Programs Solved
========================
https://codewithtj.blogspot.com/2023/...
Code
=============================
min = 1
max = int(input("Enter Value of N : "))
total = 0
for index in range(min+1, max):
if index % 2 == 1:
total += index
print(f"Sum Of All Odd Numbers Between 1 To {max} is : {total}")
Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners