🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 16: Login Time A/B Test

Scientific Computing

Builds on these lessons

Current Task

Objective

ttest_ind() compares the means of two independent samples, returning a p-value — how likely the difference is due to chance.

Task: compare old vs. new login times with a t-test and print the p-value.

index.py
from scipy.stats import ttest_ind old_login_times = [4.2, 4.5, 4.1, 4.8] new_login_times = [3.1, 3.4, 3.0, 3.3] result = ttest_ind(old_login_times, new_login_times) print(result.pvalue)

* Hint: Correct characters turn green, incorrect ones turn red.

Live Preview
🖼️

Verify your code to see the preview