This file contains hidden or 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
for giornata in range(0, 12): | |
for squadra in range(0, 20): | |
if giornate[giornata][squadra]['Squadra'] == 'Inter': | |
puntinter.append(giornate[giornata][squadra]['Tradizionale']) | |
if giornate[giornata][squadra]['Squadra'] == 'juventus': | |
puntijuve.append(giornate[giornata][squadra]['Tradizionale']) | |
if giornate[giornata][squadra]['Squadra'] == 'Napoli': | |
puntinapoli.append(giornate[giornata][squadra]['Tradizionale']) | |
if giornate[giornata][squadra]['Squadra'] == 'Milan': | |
puntimilan.append(giornate[giornata][squadra]['Tradizionale']) |
This file contains hidden or 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
function ordinaArray(&$array,$n) { | |
for ($i=0;$i<$n;$i++) { | |
for ($c=1;$c<$n;$c++) { | |
if($array[$c]>$array[$c-1]) { | |
$temp = $array[$c]; | |
$array[$c] = $array[$c-1]; | |
$array[$c-1] = $temp; | |
} | |
} | |
} |
This file contains hidden or 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
#defi\ | |
ne wile\ | |
(v) int \ | |
v;scanf/* Questo programma è stato offerto da...*/\ | |
/* Carmine Zaccagnino*/\ | |
("%d",&v); | |
#define while/*Questo programma stampa tutti i numeri*/\ | |
papere\ | |
("Inserisci un numero minore di 9!!!!!"); | |
#define f(a) (a=0;a< |
This file contains hidden or 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
from flask import Flask, request | |
app = Flask(__name__) | |
# The Fibonacci function | |
def fibo(n: int): | |
""" | |
Calculating the fibonacci numbers | |
""" | |
if n < 1: | |
return 0 |
This file contains hidden or 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
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: AuthenticAMD | |
CPU Brand: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G | |
CPU Family: 0x15 |
This file contains hidden or 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 'package:flutter/material.dart'; | |
import 'package:image_picker/image_picker.dart'; | |
void main() =>runApp(PictureShowcaseApp()); | |
class PictureShowcaseApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: PictureShowcaseHome("My Best Pictures"), |
This file contains hidden or 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
name: flutter_picture_showcase | |
description: Example description of a flutter app that makes great things happen. | |
dependencies: | |
flutter: | |
sdk: flutter | |
image_picker: ^0.4.12+1 # 0.5 doesn't compile for whatever reason | |
dev_dependencies: |
This file contains hidden or 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 'package:flutter/material.dart'; | |
import 'package:image_picker/image_picker.dart'; |
This file contains hidden or 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
void main() =>runApp(PictureShowcaseApp()); | |
class PictureShowcaseApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: PictureShowcaseHome("My Best Pictures"), | |
title: "My Best Pictures" | |
); | |
} |
This file contains hidden or 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
class PictureShowcaseHome extends StatefulWidget { | |
final String title; | |
PictureShowcaseHome(this.title); | |
_HomePageState createState() => _HomePageState(); | |
} | |
OlderNewer