Lesson 34 of 34

Mini Project: రిపోర్ట్ కార్డ్

15 min 50 XP

అభినందనలు! మీరు Python ప్రాథమికాలన్నీ నేర్చుకున్నారు. ఇప్పుడు input, lists, loops, conditions, functions ను ఒక రిపోర్ట్ కార్డ్ ప్రోగ్రామ్‌లో కలుపుదాం.

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 విభాగంలో సమస్యలు పరిష్కరించండి, Mock Interview tests రాయండి, leaderboard లో పైకి ఎక్కండి. live training కోసం Skill Park Academy లో చేరండి!

Challenge

+50 XP

space తో వేరు చేసిన మార్కుల ఒక లైన్ ఇవ్వబడింది. మొత్తం, సగటు (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.