Professional Documents
Culture Documents
Mamamo
Mamamo
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
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