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 React, { useState } from "react"; | |
import { | |
View, | |
TouchableOpacity, | |
Text, | |
StyleSheet | |
} from "react-native"; | |
import { FlatList, RectButton } from 'react-native-gesture-handler'; |
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
package com.gesturehandler; | |
import com.facebook.react.ReactActivity; | |
+ import com.facebook.react.ReactActivityDelegate; | |
+ import com.facebook.react.ReactRootView; | |
+ import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView; | |
public class MainActivity extends ReactActivity { |
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 React from 'react'; | |
import { Animated, StyleSheet, Text, View, I18nManager } from 'react-native'; | |
import { RectButton } from 'react-native-gesture-handler'; | |
import Swipeable from 'react-native-gesture-handler/Swipeable'; | |
export default function AppleStyleSwipeableRow (props) { | |
const renderLeftActions = (progress, dragX) => { |
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 React, { useState } from "react"; | |
import { | |
View, | |
TouchableOpacity, | |
Text, | |
StyleSheet | |
} from "react-native"; | |
import { FlatList, RectButton } from 'react-native-gesture-handler'; |
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 geometri(sekil): | |
if len(sekil) == 3: | |
a = sekil[0] | |
b = sekil[1] | |
c = sekil[2] | |
if(a+b)>c and (a+c)>b and (b+c)>a: | |
if(a==b) and (a==c) and (b==c): | |
print("eşkenar üçgen") | |
elif((a**2 + b**2) == c**2) or ((b**2 + c**2) == a**2) or ((a**2 + c**2) == b**2): |
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 asalsayi(deger1,deger2): | |
if(deger1>deger2): | |
for i in range(2,deger2+1): | |
if(deger1%i == 0 and deger2%i == 0): | |
print("Aralarında asal değiller.") | |
asalsayi(deger1=int(input("Deger1: ")), deger2=int(input("Deger2: "))) | |
else: | |
print("Aralarında asallar.") | |
asalsayi(deger1=int(input("Deger1: ")), deger2=int(input("Deger2: "))) | |
else: |
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
sayilar = input('Enter numbers: ').split(",") | |
for sayi in sayilar: | |
print("",end='') | |
sayi = int(sayi) | |
list=range(-1,sayi,2) | |
i=2 | |
while list[i:]:list=sorted(set(list)-set(list[list[i]::list[i]]));i+=1 | |
print("The Lucky Numbers:",list[1:sayi+1]) |
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 random | |
liste = ["araba","elma","mouse","kalem","bobin","masa","lamba","priz","bardak","silgi","kumbara","klavye","program","yazılım"] | |
secim = random.choice(liste) | |
kelime = [] | |
print(" TOPLAMDA",len(secim)-1,"ADET YANLIŞ HAKKINIZ BULUNMAKTADIR.") | |
for i in secim: | |
kelime.append(i) | |
true = [] | |
print(len(kelime),"Harf İçeren Bir Kelime") | |
for i in kelime: |