Lesson 34 of 34

Mini Project: Report Card

15 min 50 XP

അഭിനന്ദനങ്ങൾ! നിങ്ങൾ Python-ന്റെ എല്ലാ അടിസ്ഥാനങ്ങളും പഠിച്ചു. ഇനി input, lists, loops, conditions, functions എന്നിവ ചേർത്ത് ഒരു report card പ്രോഗ്രാം ഉണ്ടാക്കാം.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

f-string-ൽ {avg:.2f} എന്നാൽ 2 ദശാംശസ്ഥാനങ്ങൾ, {s:<8} ഇടത്തേക്ക് 8 സ്ഥലം നിറയ്ക്കുന്നു, {m:>3} 3 സ്ഥലത്ത് വലത്തേക്ക് ക്രമീകരിക്കുന്നു. വൃത്തിയുള്ള പട്ടികകൾക്ക് ഉത്തമം.

ഇനി എന്ത്? Practice section-ൽ പ്രശ്നങ്ങൾ പരിഹരിക്കൂ, Mock Interview tests എഴുതൂ, leaderboard-ൽ മുകളിലേക്ക് കയറൂ. Live training-ന് Skill Park Academy-യിൽ ചേരൂ!

Challenge

+50 XP

Spaces കൊണ്ട് വേർതിരിച്ച marks-ന്റെ ഒരു വരി നൽകിയിട്ടുണ്ട്. ആകെ, ശരാശരി (2 ദശാംശം), grade എന്നിവ ഒരു വരിയിൽ കൃത്യമായി ഈ format-ൽ print ചെയ്യൂ: Total: 255, Average: 85.00, Grade: B Grade: ശരാശരി 90+ → A, 75+ → B, 50+ → C, അല്ലെങ്കിൽ Fail

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.