Ask questions which are clear, concise and easy to understand.
Ask QuestionPosted by Amishi Kumar 3 years, 10 months ago
- 0 answers
Posted by Amishi Kumar 3 years, 10 months ago
- 0 answers
Posted by Amishi Kumar 3 years, 10 months ago
- 0 answers
Posted by Lucky Singh 3 years, 10 months ago
- 1 answers
Gaurav Seth 3 years, 10 months ago
Packing and Unpacking a Tuple : In Python there is a very powerful tuple assignment feature that assigns right hand side of values into left hand side. In other way it is called unpacking of a tuple of values into a variable. In packing, we put values into a new tuple while in unpacking we extract those values into a single variable.
Posted by Lucky Singh 3 years, 10 months ago
- 3 answers
Gaurav Seth 3 years, 10 months ago
Don't post personal information, mobile numbers and other details.
Don't use this platform for chatting, social networking and making friends. This platform is meant only for asking subject specific and study related questions.
Be nice and polite and avoid rude and abusive language. Avoid inappropriate language and attention, vulgar terms and anything sexually suggestive. Avoid harassment and bullying.
Ask specific question which are clear and concise.
If content is found in violation, the user posting this content will be banned for 30 days from using Homework help section. Suspended users will receive error while adding question or answer. Question comments will be disabled. Read community guidelines at https://mycbseguide.com/community-guidelines.html
Posted by S.P. Meghwal 3 years, 10 months ago
- 1 answers
Tec Om 3 years, 10 months ago
for i in range(10,26): if i%5==0: print(i)
Posted by Mayur Dagar 3 years, 11 months ago
- 1 answers
Yogita Ingle 3 years, 11 months ago
The following codes must be typed in script mode, saved and then executed.
CODE:
school = input("Enter your school name:")
Class = input("Enter your class:")
section = input("Enter your section:")
print("Your details are", school, "Class", class, "section", section)
OUTPUT:
Westchester High
11
D
Posted by Tanush Kumar 3 years, 11 months ago
- 0 answers
Posted by Nive M 3 years, 11 months ago
- 1 answers
Lucky Singh 3 years, 10 months ago
Posted by Sudager Deen 3 years, 11 months ago
- 1 answers
Yogita Ingle 3 years, 11 months ago
1. Click ⊞ Win.
2. Scroll down to "Windows Accessories"
3. Click the "Windows Accessories" folder.
4. Click "Notepad". This will open Notepad
Posted by Muskan Gupta 3 years, 11 months ago
- 0 answers
Posted by Lucky Singh 3 years, 7 months ago
- 1 answers
Sia ? 3 years, 7 months ago
Posted by Gitanshu Singh 3 years, 11 months ago
- 1 answers
Gaurav Seth 3 years, 11 months ago
The factorial of a number is the product of all the integers from 1 to that number.
For example, the factorial of 6 is <code>1*2*3*4*5*6 = 720</code>. Factorial is not defined for negative numbers, and the factorial of zero is one, <code>0! = 1</code>.
Source Code
<pre> <code># Python program to find the factorial of a number provided by the user. # change the value for a different result num = 7 # To take input from the user #num = int(input("Enter a number: ")) factorial = 1 # check if the number is negative, positive or zero if num < 0: print("Sorry, factorial does not exist for negative numbers") elif num == 0: print("The factorial of 0 is 1") else: for i in range(1,num + 1): factorial = factorial*i print("The factorial of",num,"is",factorial) </code></pre>
Output
<pre> <samp>The factorial of 7 is 5040 </samp></pre>Posted by Naga Sree 3 years, 11 months ago
- 1 answers
Yogita Ingle 3 years, 11 months ago
Posted by Darshan Rathod 3 years, 11 months ago
- 0 answers
Posted by Mahalakshmi Bujji?? 3 years, 11 months ago
- 1 answers
Yogita Ingle 3 years, 11 months ago
Polymorphism refers to the existence of two or more forms of individuals within the same animal species.
Polymorphism is common in nature; it is related to biodiversity, genetic variation and adaptation; it usually functions to retain variety of form in a population living in a varied environment. The most common example is sexual dimorphism, which occurs in many organisms. Other examples are mimetic forms of butterflies, and human hemoglobin and blood types.
Coelenterates include a large number of colonial species that contain more than one form of individuals which are called zooids. Coelenterates have two basic zooids, polyp and medusa.
Posted by Aditya Tiwari 3 years, 6 months ago
- 1 answers
Sia ? 3 years, 6 months ago
The NOR gate is a combination OR gate followed by an inverter. Its output is "true" if both inputs are "false." Otherwise, the output is "false."
A logical inverter, sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state. If the input is 1, then the output is 0. If the input is 0, then the output is 1.
Posted by Ligoris Psbb 3 years, 11 months ago
- 1 answers
Yogita Ingle 3 years, 11 months ago
Augmented assignment is the combination, in a single statement, of a binary operation and an assignment statement. ...
e.g. a += 1 means a is assigned a+1. They are useful because they reduce the length of the code and make it look cleaner.
Posted by Mohit Ahir 3 years, 11 months ago
- 0 answers
Posted by Nitish Rathor 3 years, 11 months ago
- 2 answers
Posted by Aditya Yadav 3 years, 11 months ago
- 0 answers
Posted by Prabhat Dubey 3 years, 11 months ago
- 0 answers
Posted by Karishma Yadav 3 years, 11 months ago
- 2 answers
Tanishtha Yadav 3 years, 10 months ago
Naga Sree 3 years, 11 months ago
Posted by Khusi Munda 3 years, 11 months ago
- 1 answers
Naga Sree 3 years, 11 months ago
Posted by Kunal Thapliyal 3 years, 11 months ago
- 0 answers
Posted by Nitya Prakash 3 years, 11 months ago
- 0 answers
Posted by Royal Thakur ? 3 years, 11 months ago
- 1 answers
Yogita Ingle 3 years, 11 months ago
The smallest individual unit in a program is called as Token or a lexical unit.
Python has following tokens:
Keywords Identifiers Literals Operators Punctuators
Posted by Sudhanshu Prajapati 3 years, 11 months ago
- 0 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app