Back

Sanskar

Keen Learner and Exp... • 2m

Day 2 of learning python as a beginner. Topic: Conditional Expression Conditional expression pose a condition (if and Else statements). They help program take decision based on the condition given. They can be used inside a function or while assigning a value or inside list comprehensions. Here's a small quiz game I made using if elif and else ladder. During the process I got introduced to .replace() and .lower() function using which I was able to replace any space typos (which the user may commit) and .lower() helps user enter answer in both small caps and large caps. Would appreciate any suggestion or mentorship.

4 Replies
4
15
Replies (4)

More like this

Recommendations from Medial

Sanskar

Keen Learner and Exp... • 2m

Day 17 of learning python as a beginner. Topic: lambda functions + email filter Lambda functions are a single line anonymous function without using the usual def key word. All function: checks whether all the key words (spam_keywords) are present

See More
Reply
2

Sanskar

Keen Learner and Exp... • 2m

Day 5 of learning python as a beginner. Topic: Functions On my previous day post many people shared their github where I was introduced to def functions and since then I started learning more about def functions. Thank you all those people who are

See More
Reply

Kritika Jain

Your name is a brand... • 1y

ALERT 🚨 TOWARDS HEAVY RAIN Various startups is trying to display and maintaining various heavy rain conditions. They are using various environmentally friendly materials and construction techniques to build resilient infrastructure, roads and brid

See More
Reply
4

Sanskar

Keen Learner and Exp... • 2m

Day 12 of learning python as a beginner. Topic: object oriented programming (OOP). Yesterday I shared a journal taking app and many people suggested that it would be great if I used classes. Initially I was not aware of what classes actually are an

See More
Reply
2

Sanskar

Keen Learner and Exp... • 2m

Day 15 of learning python as a beginner. Topic: Error Handling. A lot of amazing people have suggested me that I should learn error handling in order to tackle unexpected situation which may arise. I created this basic calculator which can perform

See More
Reply
3

Sanskar

Keen Learner and Exp... • 2m

Day 11 of learning python as a beginner. Topic: creating journal entry program using file I/O. I got a little sidleline from my original plan of editing my to-do list program and created an entirely new program this time for writing a daily journal

See More
Reply
1
10

Sanskar

Keen Learner and Exp... • 1m

Day 30 of learning python as a beginner. Topic: making a fully functional calculator. Yesterday I got introduced to tkinter and was successful in creating a basic graphical layout for the calculator and today I added logic into it and now I finally

See More
Reply
2

Sanskar

Keen Learner and Exp... • 2m

Day 14 of learning python as a beginner. Topic: final practice of classes by creating an employee dashboard. I know you guys may have become bored seeing me talking about only classes however since a day or two, I was just practicing because I felt

See More
Reply
1

Download the medial app to read full posts, comements and news.