Back

Sanskar

Keen Learner and Exp... • 26d

Day 1 of learning python as a beginner. Topic: Variables and Datatypes Variables are like containers which are used to store various datatypes in it. These datatypes includes string, Integer (whole number), floating point (decimal numbers), boolean (true-false). Variable name can start with a letter or a _ (underscore). It cannot start with a number or a special character like @. Although it can contain a number in between or at the end but it cannot contain any special character anywhere. Examples: variable1 = this is acceptable ✅ 1variable = shows syntax error ❌ v@riable = shows syntax error ❌ A little BMI calculator I created (It's been two days since I started learning python and thus I got familiar with another feature "if-else statement" and thus decided to use it) I would appreciate any feedback on the code or mentorshipa

Reply
3

More like this

Recommendations from Medial

RootDotAi

From the ROOT to the... • 1y

Why did the programmer always carry a map? To navigate through all those syntax error jungles!

Reply
8

ProgrammerKR

Founder & CEO of Pro... • 4m

Tech News: Python 3.12 Released Python 3.12 has officially landed with faster performance, improved error messages, and new typing features. It’s a major milestone that continues to solidify Python’s role as a versatile, developer-friendly language.

See More
Reply
3
Image Description
Image Description

Krish

CRITICAL THINKING|MA... • 6m

Any python cryptography expert, I have encrypted a data long back ago using python cryptography but cannot recover it now, even after checking all possible ways I have the key also but it's not working. Could anyone help

3 Replies
6

Kamleshwar Pandey

Hey I am on Medial • 3m

FUN FACT ABOUT PYTHON. As Python was implemented in the C language, when we say x=10000 in python, x is not just a raw integer but it's actually a pointer to a compound C structure which not only stores the integer value but also many other values. T

See More
Reply
3

Vansh Khandelwal

Full Stack Web Devel... • 1y

𝐂𝐒𝐒, 𝐒𝐂𝐒𝐒, 𝐚𝐧𝐝 𝐒𝐀𝐒𝐒: 𝐀 𝐐𝐮𝐢𝐜𝐤 𝐆𝐮𝐢𝐝𝐞 CSS (Cascading Style Sheets) is the backbone of web styling, controlling layout, colors, and fonts. It includes selectors, the box model, Flexbox, Grid, media queries, and animations. CSS i

See More
Reply
3
Image Description
Image Description

SOMRAJ

Polymath • 4m

🚀 Big news! I’m building a brand-new programming language that’s easier than Python, beginner-friendly, and powerful enough for AI/ML and Blockchain development. 📜 Natural-language-like syntax ⚡ Write smart contracts & AI models without the comple

See More
8 Replies
21

Muttu Havalagi

🎥-🎵-🏏-⚽ "Finding ... • 1y

1. Python: - History: Python was created by Guido van Rossum and was first released in 1991. Its design philosophy emphasizes code readability and its syntax allows programmers to express concepts in fewer lines of code. - Unique Fact: The name

See More
Reply
1

Sanskar

Keen Learner and Exp... • 11d

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

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