Back

Sanskar

Keen Learner and Exp... • 5m

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

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

Kamleshwar Pandey

Hey I am on Medial • 8m

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

Krish

CRITICAL THINKING|MA... • 10m

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

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

ShipWithRathor

garoono.in minimal a... • 2m

Stop Silent Crashes: The 2025–26 Flutter Error Playbook Ship apps that fail gracefully, recover fast, and tell you exactly what went wrong Your app isn’t exploding It’s failing quietly A Future that throws and disappears A widget that rebuilds a

See More
Reply
7
Image Description
Image Description

SOMRAJ

Polymath • 8m

🚀 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

Shubham

Fearless • 4m

🚀 Day 1/21 – My JavaScript Learning Journey I’ve started my 21-day challenge to learn and share JavaScript daily. 🔹 Today’s focus: Basics, Variables, and Data Types Variables: var, let, const (different scopes & usage). Data Types: 7 primitive

See More
Reply
2

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