Computer Science, asked by dhruba25, 1 month ago

Create a series and print those elements which are divisible by 5 in python pandas
plz give genuine answer​

Answers

Answered by ashrafkhan786196
1

1. Create a script that displays 1-2-3-4-5-6-7-8-9-10 on one line. There will be no hyphen(-) at starting and ending position. Go to the editor

Click me to see the solution

2. Create a script using a for loop to add all the integers between 0 and 30 and display the total. Go to the editor

Click me to see the solution

3. Create a script to construct the following pattern, using nested for loop. Go to the editor

* * * * * * * * * * * * * * *

Click me to see the solution

4. Create a script to construct the following pattern, using a nested for loop. Go to the editor

*  * *  * * *  * * * *  * * * * *  * * * * *  * * * *  * * *  * *  * 

Click me to see the solution

5. Write a program to calculate and print the factorial of a number using a for loop. The factorial of a number is the product of all integers up to and including that number, so the factorial of 4 is 4*3*2*1= 24. Go to the editor

Similar questions