Shawshank Redemption Edit
Vložit
- čas přidán 30. 03. 2024
- ---------------------------------------------------------------------------------------------------------------------------
Please Subscribe, Like And Share
--------------------------------------------------------------------------------------------------------------------------
CREDITS:
--------------------------------------------------------------------------------------------------------------------------
Movie: Shawshank Redemption
Music: Arctic Monkeys - I Wanna Be Yours (Instrumental)
Link: • Arctic Monkeys - I Wan...
--------------------------------------------------------------------------------------------------------------------------
Editing Software: Adobe After Effects 2023
--------------------------------------------------------------------------------------------------------------------------
1 LIKE = More Motivation :)
[Watch in 4K + Headphones/Earphones]
---------------------------------------------------------------------------------------------------------------------------
#shawshankredemption #shawshankredemptionedit #edit
---------------------------------------------------------------------------------------------------------------------------
Like Share & Subscribe For More :) &
Don't Forget To Leave a Comment :)
******************************************************************************
Copyright Disclaimer under Section 107 of the copyright act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favour of fair use.
****************************************************************************** - Zábava
🔥🔥
8. Explore string functions
str1=input("enter first string: ")
str2=input("enter second string: ")
str3=strl + str2
print("after concatenation:",str3)
s1='bad'
print("uppercase", sl.upper())
print("lowercase", sl.lower())
print("length of a str3 is ", (len(str3)))
print("slicing of strl", str1[2:4])
print("repetition of str2", str2*2)
if (str1==str2):
print("both are same")
else:
print("both are not same")
st=input("enter the main string: sub-input("enter the sub string: ") ")
n=st.find(sub, 0, len(st))
if n== -1:
print('sub string not found')
else:
print('sub string is found at position ',n+1) print("sorted order of strl", sorted(strl))
9. Implement selection sort
a=[]
n=int(input("enter the array size: "))
print("enter the numbers").
for i in range (n): a.insert(i,int (input()))
for i in range (0, len (a)-1):
smallest-i
for j in range(i+1,len(a)):
if a[j]
4 (b).display multiplication tables (upton) n=int(input("enter n"))
for i in range (1,n+1):
print(" mut table ", i)
for j in range (1,11):
print(i, j,"=" ,i*j)
6. Implement a sequential search
a = []
n=int(input("enter the array size:"))
print ("enter the array elements")
for i in range(n):
a.insert(i, int(input()))
key=int(input("Enter the Number to Search: "))
flag=0
for i in range(n):
if key==a[i]:
flag=1 break
quit()
if (flag==1):
print("
Number Found at Index Number: ",i+1)
else:
print("
Number is not Found ")
1. check if a number belongs to the fibonacci sequence
import math
def PerfectSquare (x):
s=int(math.sqrt(x))
return s*s==X
n=int(input("enter the number: "))
result1=5* (n*n) +4
result2=5* (n*n)-4
if PerfectSquare (result) or PerfectSquare (result2):
print (n, "is a fibonacci number")
else:
print (n, "is not a fibonacci number")
3. find the sum of n natural numbers num int (input('Enter a number:'))
if num
0:
num else: input('Please enter a positive number:')
sum = 0
while (num > 0): sum += num num = 1 print("The sum of the natural numbers is:", sum)
4(a).Display multiplication Table number int (input ("Enter the number: "))
print ("The Multiplication Table of: ", number) for i in range (1, 11): print (number, 'x', i, '', number i)
7.Create a calculator program
a=int(input("Enter A:"))
b=int(input("Enter B:"))
print("Calculator")
print("1.Add")
print("2.Subtract")
print("3.Multiply")
print("4.Divide")
ch=int(input("Enter Choice (1-5): "))
if ch==1:
c=a+b
print("5.modolus")
print("Sum = ",c)
elif ch==2: c=a-b print("Difference = ",c)
elif ch==3:
c=a*b
print("Product = ",c)
elif ch==4: c=a/b
print("Quotient = ",c)
elif ch==5: c=a%b print("mod = ",c)
else: print("Invalid Choice")
5.Check if a given number is a Prime Number or Not number = int (input("Enter any number: "))
if number > 1:
for i in range (2, number): if (number % i) == 0: print (number, "is not a prime number") break
else:
print (number, "is a prime number")
else:
print (number, "is not a prime number")
You're so cool
Thank you oksi ❤
@@tjumusic60612.write an html program to draw star and multiple circle and with different color
using svg tag .
svg star
multiple circle
1. check if a number belongs to the fibonacci sequence
import math
def PerfectSquare (x):
s=int(math.sqrt(x))
return s*s==X
n=int(input("enter the number: "))
result1=5* (n*n) +4
result2=5* (n*n)-4
if PerfectSquare (result) or PerfectSquare (result2):
print (n, "is a fibonacci number")
else:
print (n, "is not a fibonacci number")
❤❤
2.write an html program to draw star and multiple circle and with different color
using svg tag .
svg star
multiple circle
Hi
Program 7:
Bouncing Ball with JavaScript
#ball {
width: 50px;
height: 50px;
background-color: red;
border-radius: 25px;
position: absolute;
}
const ball = document.getElementById("ball");
let x = 0;
let y = 0;
let xSpeed = 10;
let ySpeed = 10;
function animate() {
x += xSpeed;
y += ySpeed;
if (x + 50 > window.innerWidth || x < 0) {
xSpeed = -xSpeed;
}
if (y + 50 > window.innerHeight || y < 0) {
ySpeed = -ySpeed;
}
ball.style.left = x + "px";
ball.style.top = y + "px";
requestAnimationFrame(animate); //method call
}
animate(); //calling function
Meow
@@ashiabhishek_dla meow de plar ta wka da spe zo
2. solve quadratic equations
import math
aint (input('Enter the value of a: bint (input('Enter the value of b: '))
'))
cint (input('Enter the value of c: '))
d = (b**2) (4*a*c)
if (d > 0):
r1=(-b + math.sqrt(d ) / (2 * a))
r2 = (-b math.sqrt(d) / (2 * a))
print("Two distinct real roots are")
print("r1= ",r1)
print("r2= ",r2)
elif (d==0):
r1r2b/(2*a)
print("Two equal and real roots are ",r1,r2)
else:
rp = -b/(2*a)
ip math.sqrt(-d) / (2 * a)
print("imaginary rooti", rp, print("imaginary root2", rp, "+i ",ip) " -i", ip)
11.Read and write into a file
f-open("newfile.txt","w") f.write("hello
")
f.writelines(["hello
", "world
"])
f=open("newfile.txt","r") print (f.readlines())
f.close()