Ask questions which are clear, concise and easy to understand.
Ask QuestionPosted by T. Sandhya 5 years, 1 month ago
- 1 answers
Hemanth Chitturi 5 years ago
Posted by Umeswari Pradhan 5 years, 1 month ago
- 1 answers
Ankit Singh 5 years, 1 month ago
Posted by Piyush_ Ji 5 years, 1 month ago
- 1 answers
Posted by Rosemary Jino Jino 5 years, 1 month ago
- 0 answers
Posted by Rosemary Jino Jino 5 years, 1 month ago
- 0 answers
Posted by Sunaina Agrawal 5 years, 1 month ago
- 2 answers
Meghna Thapar 5 years, 1 month 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 5 years, 1 month ago
- 0 answers
Posted by Vivek Vaish 5 years, 1 month ago
- 0 answers
Posted by Burhanuddin Matka Wala 5 years, 1 month ago
- 0 answers
Posted by Vivek Vaish 5 years, 1 month ago
- 2 answers
Gaurav Seth 5 years, 1 month 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 5 years, 1 month ago
- 1 answers
Gaurav Seth 5 years, 1 month 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 5 years, 1 month ago
- 0 answers
Posted by Pankaj Mixra 4 years, 11 months ago
- 0 answers
Posted by Durgaa Udayakumar 5 years, 1 month ago
- 0 answers
Posted by Durgaa Udayakumar 5 years, 1 month ago
- 1 answers
Purnima????? Tripathi?? 5 years, 1 month ago
Posted by Maphisabet Jeengaphs 5 years, 1 month ago
- 2 answers
Posted by Rohan . 5 years, 1 month ago
- 0 answers
Posted by Lucky Dhargave 5 years, 1 month ago
- 1 answers
Posted by Hemant Kumar Sahu 5 years, 1 month ago
- 3 answers
Hemant Kumar Sahu 5 years, 1 month ago
Posted by Awadhesh Kumar 5 years, 1 month ago
- 1 answers
Posted by Himanshu Joshi 5 years, 1 month ago
- 0 answers
Posted by Saurabh Jangra 5 years, 1 month ago
- 2 answers
Khushi....? ??? 5 years, 1 month ago
Ankit Singh 5 years, 1 month ago
Posted by Ponnu Adi 5 years, 1 month ago
- 1 answers
Sia ? 4 years, 4 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 5 years, 1 month ago
- 0 answers
Posted by Srinitha Rajalingola 5 years, 1 month ago
- 0 answers
Posted by Manju Devi 5 years, 1 month ago
- 1 answers
Posted by Tomesh Sahu 5 years, 1 month ago
- 3 answers
Ankit Singh 5 years, 1 month ago
Posted by Krishna Patidar 5 years, 1 month ago
- 3 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
Nidhi Pandey 5 years, 1 month ago
5Thank You