Back

Sanskar

Keen Learner and Exp...ย โ€ขย 2d

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
2

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...ย โ€ขย 3m

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...ย โ€ขย 5m

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ย โ€ขย 2m

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...ย โ€ขย 11m

๐‚๐’๐’, ๐’๐‚๐’๐’, ๐š๐ง๐ ๐’๐€๐’๐’: ๐€ ๐๐ฎ๐ข๐œ๐ค ๐†๐ฎ๐ข๐๐ž 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ย โ€ขย 3m

๐Ÿš€ 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 ...ย โ€ขย 11m

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

Harish Kumar

Training Consolerย โ€ขย 7m

Python is a beginner-friendly and powerful programming language, perfect for diving into data science. Start by learning the basics like variables, loops, and functions. Explore popular libraries such as Pandas for data manipulation, NumPy for nume

See More
Reply
2

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