What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-23 22:53:05
hand cricket game in python
import random lst1= [1,2,3,4,5,6,7,8,9,10] chances_1= 20 no_of_chances_1= 0 your_runs= 0 print ("-----------------------------------------------\nYour Batting\n") while no_of_chances_1 < chances_1: runs= int(input("Enter Run... Add solution -
Python 2021-09-23 16:25:05
dijkstra implementation with the help of priority queue in python
import heapq def calculate_distances(graph, starting_vertex): distances = {vertex: float('infinity') for vertex in graph} distances[starting_vertex] = 0 pq = [(0, starting_vertex)] while len(pq) > 0: current_distance, current... Add solution -
Other 2021-09-22 15:29:05
join curve revit api
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * import Autodesk clr.AddReference('RevitServices') import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager ... Add solution -
Assembly 2021-09-21 11:14:04
enter 64 bit mode
If paging is enabled, disable paging. If CR4.PAE is not already set, set it. Set IA32_EFER.LME = 1. Load CR3 with a valid PML4 table. Enable paging. At this point you will be in compatibility mode. A far jump may be executed to switch to long mode. Howeve... Add solution -
Python 2021-09-21 10:37:02
random number guessing game python
import random print("Welcome to random number gusser game") print("I will guss number from 1 to 100 ") Difficulty = str(input("What is your difficulty Easy or hard:- ")).lower() def difficiulty(Difficulty): random_number ... Add solution