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
// You can edit this code! | |
// Click here and start typing. | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Hello, 世界") | |
areaOfcircle(4.0) | |
areaOftriangle(2.0, 3.0) |
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 functools | |
# Filter Funcation | |
_filter = '''The Filter is pythons inbuild funcation, | |
Which will be use for filter the data for itrables such as list | |
[Syntax] | |
filter(funcaion, *itreables) | |
[Example] | |
is_positive(a: any): | |
return a > 0 |
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
def lsearch(array:list, search_element:any)->None: | |
""" | |
This funcation will help to search | |
element using linear search algorithm. | |
>>> lsearch ([134,56,2,78,0],78) | |
Element is Found at 4th index and 5th position | |
""" | |
i = 0 | |
for i in range(len(array)): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
echo "Updating system" | |
echo "Upgrading system" | |
echo "Installing neofetch" | |
sudo apt-get install neofetch -y | |
neofetch | |
sudo apt-get install python3-pip -y | |
echo "Installing some python reqirments" |
NewerOlder