Beautiful is for 012345678 9 and a code for similar word containing the same alphabets
Answer / Chetan Khanna
Here's an example code in Python that generates words with the same pattern as 'beautiful' (0123456789) using only the digits 0 through 9:nn```pythonnimport itertoolsnnnumbers = list(range(10))nperms = itertools.permutations(numbers)nnfor word in perms:n word_str = ''.join(map(str, word))n if sum(int(digit) for digit in word_str) == 36:n print('word:', word_str)n```
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the coding about how to recognize color in fuzzy logic using Matlab R2009b?
Beautiful is for 012345678 9 and a code for similar word containing the same alphabets
In LSMW , what does the following error mean and how to rectify it : Incorrect interface data for set 78 in method C . This error is occuring in idoc processing step of LSMW.
Hello, Can anyone tell me the source code for FLAMES game in Control Language Programming(CLP)of AS/400.
how to test the orientation of the layout in android.to note any changes in the ui design when change orientation
find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.
Write a program to Print the Pascal triangle
Write a Program for matrix multiplication.
Find out the list of roles which gives access to all t-codes in SAP? Thanks in advance.
plzzzzzzzzz xplain this code import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzzzz xplain this code
How to get the version(major,minor,revision ) of VB6.0 delphi code .I am able to fetch dll file of vb6.0 but not vba file .Can u send me the code snippet in delphi to get the value for vb6.0.
Write a Program to find the sum of digits of a given number until the sum becomes a single digit.