Ask questions which are clear, concise and easy to understand.
Ask QuestionPosted by Giri Dharan 4 years, 3 months ago
- 1 answers
Posted by T. Sandhya 4 years, 3 months ago
- 1 answers
Hemanth Chitturi 4 years, 3 months ago
Posted by Umeswari Pradhan 4 years, 3 months ago
- 1 answers
Ankit Singh 4 years, 3 months ago
Posted by Piyush_ Ji 4 years, 3 months ago
- 1 answers
Posted by Rosemary Jino Jino 4 years, 4 months ago
- 0 answers
Posted by Rosemary Jino Jino 4 years, 4 months ago
- 0 answers
Posted by Sunaina Agrawal 4 years, 4 months ago
- 2 answers
Meghna Thapar 4 years, 4 months ago
Functions are defined using the def keyword. After this keyword comes an identifier name for the function, followed by a pair of parentheses which may enclose some names of variables, and by the final colon that ends the line. Next follows the block of statements that are part of this function. n Swift 4, a function is defined by the "func" keyword. ... To use a function, you "call" that function with its name and pass input values (known as arguments) that match the types of the function's parameters. Function parameters are also called as 'tuples'.
Posted by Vivek Vaish 4 years, 4 months ago
- 0 answers
Posted by Vivek Vaish 4 years, 4 months ago
- 0 answers
Posted by Burhanuddin Matka Wala 4 years, 4 months ago
- 0 answers
Posted by Vivek Vaish 4 years, 4 months ago
- 2 answers
Gaurav Seth 4 years, 4 months ago
Answer:infile = file('./oldfile.txt')
newopen = open('./newfile.txt', 'w')
for line in infile :
if 'bad' in line:
line = line.replace('.' , '')
if 'naughty' in line:
line = line.replace('.', '')
else:
Posted by Vivek Vaish 4 years, 4 months ago
- 1 answers
Gaurav Seth 4 years, 4 months ago
def recur_factorial(n):
if n == 1:
return n
else:
return n*recur_factorial(n-1)
# take input from the user
num = int(input("Enter a number: "))
# check is the number is negative
if num < 0:
print("Sorry, factorial does not exist for negative numbers")
elif num == 0:
print("The factorial of 0 is 1")
else:
print("The factorial of",num,"is",recur_factorial(num))
Posted by Shivani Thakur 4 years, 4 months ago
- 0 answers
Posted by Pankaj Mixra 4 years, 2 months ago
- 0 answers
Posted by Durgaa Udayakumar 4 years, 4 months ago
- 0 answers
Posted by Durgaa Udayakumar 4 years, 4 months ago
- 1 answers
Purnima????? Tripathi?? 4 years, 4 months ago
Posted by Maphisabet Jeengaphs 4 years, 4 months ago
- 2 answers
Posted by Rohan . 4 years, 4 months ago
- 0 answers
Posted by Lucky Dhargave 4 years, 4 months ago
- 1 answers
Posted by Hemant Kumar Sahu 4 years, 4 months ago
- 3 answers
Hemant Kumar Sahu 4 years, 4 months ago
Posted by Awadhesh Kumar 4 years, 4 months ago
- 1 answers
Posted by Himanshu Joshi 4 years, 4 months ago
- 0 answers
Posted by Saurabh Jangra 4 years, 4 months ago
- 2 answers
Khushi....? ??? 4 years, 4 months ago
Ankit Singh 4 years, 4 months ago
Posted by Ponnu Adi 4 years, 4 months ago
- 1 answers
Sia ? 3 years, 6 months ago
In C++, a pointer refers to a variable that holds the address of another variable. Like regular variables, pointers have a data type. For example, a pointer of type integer can hold the address of a variable of type integer. A pointer of character type can hold the address of a variable of character type.
Posted by Ponnu Adi 4 years, 4 months ago
- 0 answers
Posted by Srinitha Rajalingola 4 years, 4 months ago
- 0 answers
Posted by Manju Devi 4 years, 4 months ago
- 1 answers
Posted by Tomesh Sahu 4 years, 4 months ago
- 3 answers
Ankit Singh 4 years, 4 months ago
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
Praveen Patel 4 years, 3 months ago
0Thank You