Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

TRY THIS IN PROGRAMIZ: Don’t forget to include your name and section in your programs.

Screen shots
your source code and output

•import random
•# Simulating data collection (random grades)
•def collect_data():
• return [random.randint(60, 100) for _ in range(30)] # Generate 30 random grades
•# Main function
•def main():
• # Collect data
• grades = collect_data()
• # Present data
• print("Collected grades:", grades)
•# Entry point of the program
•if __name__ == "__main__": main()

What would be the source code for computing your average in ENSCIEMATH and TLE last Quarter?
Screen shots your source code and output

TRY THIS IN Mblock-PYTHON Programming Language: Don’t forget to include your name and section in
your programs. Screen shots your source code and output

#Add two numbers


num1=7
num2=10
addition=(num1+num2)
print("First number :",num1)
print("Second number :",num2)
print("Addition : ",addition)

What would be the source code for computing your average in Research, AP, MAPEH and TLE last
Quarter? Screen shots your source code and output

You might also like