Back

Sanskar

Keen Learner and Exp... • 1m

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

Sidharth Bidikar

Keep Moving • 11m

Which function allows you to count the number of cells that meet a specific condition? #excel #msexcel #data #dataanalytics #googlesheets #functions

Reply
2
Image Description

Hari Krishna

Developer | entrepre... • 5d

Day6/100: • def —> Creating a function ( user defined) def name(): Condition Name() —> calling the function 🤙🏻 ————— Likewise we can create a library 📚 in python 🐍 • import ( the file we created ) ————— Today played with Reeborg rob

See More
2 Replies
8

Hari Krishna

Developer | entrepre... • 10d

Today I got to learn some interesting low level stuff like : • if condition == text ( can’t perform operation bcz not a str ) ❌ • if condition == “text” ( can compare bcz it’s a str )✅ • power of nested if-else statement 👀 Github :

Reply
3

Sanskar

Keen Learner and Exp... • 29d

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... • 1m

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
Image Description

Nikhil Karun

Hey I am on Medial • 1y

Got a new start up idea Would probably yields high returns . . fat-soluble vitamins (A, E, and K), fatty acids (DHA, EPA), beta-carotene, and minerals. It's also a source of protein, but it lacks high enough levels of some of the amino acids that y

See More
1 Reply
5
Image Description
Image Description

Harsh Gupta

Digital Marketer (Me... • 1y

Hi friends 👋, I want to know if you get a T shirt with a design that brings out your inner expression, which you can't express yourself, will you buy it or not , if it is in a price range of 500-999 ? Actually I want to know that is this type of con

See More
6 Replies
8

Sanskar

Keen Learner and Exp... • 1m

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
Image Description

Ram saravanan

Start up • 5m

What would happen to a person who regularly eats curd after lunch? Kanikka Malhotra, a consultant dietician, told The Indian Express that eating curd every day after lunch helps with immunological regulation and digestion. According to Malhotra, cu

See More
2 Replies
5

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