5 Topics

Member Avatar for
Member Avatar for vegaseat

This short Python code gets the local time from the PC as a formatted string using time.strftime('%H:%M:%S'). The time string is displayed in a label using a larger font. A recursive function checks the time five times per second, and updates the time string, if it has changed. Five times …

Member Avatar for Vinay_17
2
26K
Member Avatar for toring

Hi, I jus want to ask why is it that the pacman will move but it will get larger when it is painted..also is that the proper way to draw?. here is the code import javax.swing.*; import java.awt.*; public class Mypacman extends JFrame implements Runnable{ int x; public Mypacman(){ setVisible(true); …

Member Avatar for JamesCherrill
0
367
Member Avatar for theashman88

I'm trying to create a code that gives the factorial for a number given. If it is negative, string, or to large of a number an error should return. I figured out how to do the catch for the negative and string, but I'm confused on how to create a …

Member Avatar for cgeier
0
279
Member Avatar for davy_yg

Hello, I would like to display a video file on my website. For example youtube video when someone click the small video icon then a larger video begin to open and showing a video file with a transparent black background. How to do so? Thanks in advance.

Member Avatar for veedeoo
0
170
Member Avatar for rizzi143

hi folks. i ve got a lab questions stating: write pseudocode for a program which allows the user to input two numbers (x and Y0 and a code c . if the code has value 1, the program should ouput the larger of X and y and otherwise the smaller. …

Member Avatar for rizzi143
0
162

The End.