

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This document is contain about random array, dot product, statistics operational, and decision statement use Python Languange.
Typology: Cheat Sheet
1 / 3
This page cannot be seen from the preview
Don't miss anything!
#siswa yang tidak lolos pada ujian matematika ATAU biologi def cek_kelulusan(matematika,biologi,std_lulus): tidak_lulus_salah_satu = np.logical_or(matematika<std_lulus, biologi<std_lulus) rata_rata_mtk = np.mean(matematika[tidak_lulus_salah_satu]) print('Rata-rata nilai matematika siswa yang tidak lolos ujian matematika atau biologi: ',rata_rata_mtk) cek_kelulusan(array_random[ 0 ],array_random[ 1 ], 79 )