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 tkinter as tk | |
from tkinter import ttk | |
from datetime import datetime | |
import pytz | |
def get_selected_times(): | |
selected_indices = country_listbox.curselection() | |
if not selected_indices: | |
return |
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
<html> | |
<style> | |
body { | |
font-family: 'Comic Sans MS'; | |
} | |
h2 { | |
color: rgb(255,255,255); | |
text-transform: uppercase; | |
background-color: rgb(34,34,34); | |
padding: 20px; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Index Page</title> | |
<!-- External CSS --> | |
<link rel="stylesheet" href="style.css" /> |
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 student; | |
import java.util.Scanner; | |
interface AadharCardProcess { | |
abstract void GetUsername(String user); | |
abstract void GetPhonenumber(int number); | |
abstract void CreateAadharnumber(int newAadharnumber); |
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
#include <iostream> | |
template <int n> | |
struct factorial | |
{ | |
enum | |
{ | |
output = 2 * factorial<n - 1>::output | |
}; | |
}; |
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 main | |
import ( | |
"fmt" | |
"sample/payroll" | |
) | |
func main() { | |
emp := payroll.Employee{Empid: 10} // or emp.SetEmpid(10) as it is a public variable |
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 payroll | |
type Employee struct { | |
Empid int // public variable as the Empid starts with upper case | |
empname string // private variable as the empname starts with lowercase | |
salary int // private variable as the empname starts with lowercase | |
} | |
func (emp *Employee) AddEmployeeDetails(name string, salary int) { | |
emp.SetEmpName(name) |
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 showNames(x,y,z): | |
print("\n Printing output : ") | |
print(x) | |
print(y) | |
print(z) | |
dictnames = {'x':'medium', 'y':'vivek','z':'vijayan'} | |
showNames(** dictnames) |
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 showNames(x,y,z): | |
print("\n Printing output : ") | |
print(x) | |
print(y) | |
print(z) | |
listnames = ['medium','vivek','vijayan'] | |
showNames(* listnames). |
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 showNames(x,y,z): | |
print("\n Printing output : ") | |
print(x) | |
print(y) | |
print(z) | |
listnames = ['medium','vivek','vijayan'] | |
showNames[listnames[0], listnames[1], listnames[2]] |
NewerOlder