This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num=int(input(' Please Enter Your Mark: \n')) | |
if num<=100 and num>=80: | |
print(' You are a Genious and You got A+ grade!') | |
elif num<79 and num>75: | |
print('You got A grade') | |
elif num < 75 and num > 70: | |
print('You got A- grade') | |
elif num < 70 and num > 65: | |
print('You got B+ grade') | |
elif num < 65 and num > 60: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=input().split(" ") | |
x,y,z,p,q=a | |
r=len(a) | |
if int(x)<int(z) and int(y)<int(z): | |
if int(p)>int(z) and int (q)> int (z): | |
c=(int(x)+int(y)+int(z)+int(p)+int(q))/r | |
print('Avarage is: %.2lf' %c) | |
else: | |
print("Sorry Wrong Input") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = [int(x) for x in input().split()] | |
p,q,r,s,t=a | |
w=a.sort() | |
median=a[2] | |
l=a[3],a[4] | |
m=a[0],a[1] | |
print("Median is : %i" %median) | |
print("The larger values are: %i %i" %l) | |
print("The smaller values are: %i %i" %m) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import statistics | |
a = [int(x) for x in input().split()] | |
w=a.sort() | |
median=statistics.median(a) | |
print("Median is : %.2lf" %median) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open your terminal and hit: | |
1.ssh-keygen | |
2.cd ~/.ssh | |
3.cat id_rsa.pub | |
4.copy this key that started with ssh-rsa | |
5.paste here: https://github.com/settings/ssh/new | |
6.save and bye |